aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/vendor/symfony/config
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/vendor/symfony/config')
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/CHANGELOG.md108
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ConfigCache.php62
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactory.php51
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactoryInterface.php32
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ConfigCacheInterface.php49
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/ArrayNode.php416
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/BaseNode.php559
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/BooleanNode.php55
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php548
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php53
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php25
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php56
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/ExprBuilder.php248
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php32
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php32
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/MergeBuilder.php67
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/NodeBuilder.php238
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/NodeDefinition.php373
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/NodeParentInterface.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php60
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php73
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php46
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php32
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/TreeBuilder.php106
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/ValidationBuilder.php44
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php65
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/ConfigurationInterface.php27
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php302
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php242
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/EnumNode.php62
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php22
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/Exception.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php22
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php49
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/InvalidTypeException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/TreeWithoutRootNodeException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Exception/UnsetKeyException.php22
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/FloatNode.php51
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/IntegerNode.php46
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/NodeInterface.php100
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/NumericNode.php64
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/Processor.php97
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/PrototypeNodeInterface.php27
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/PrototypedArrayNode.php375
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/ScalarNode.php67
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Definition/VariableNode.php143
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php27
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Exception/FileLoaderLoadException.php111
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php34
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Exception/LoaderLoadException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/FileLocator.php94
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/FileLocatorInterface.php34
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/LICENSE19
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/DelegatingLoader.php50
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/FileLoader.php186
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/GlobFileLoader.php36
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/Loader.php78
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/LoaderInterface.php52
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/LoaderResolver.php68
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Loader/LoaderResolverInterface.php30
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/README.md15
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/ClassExistenceResource.php231
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/ComposerResource.php70
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/DirectoryResource.php108
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/FileExistenceResource.php62
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/FileResource.php67
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/GlobResource.php233
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/ReflectionClassResource.php221
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/ResourceInterface.php33
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php36
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php30
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ResourceCheckerConfigCache.php188
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php48
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/ResourceCheckerInterface.php45
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Util/Exception/InvalidXmlException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Util/Exception/XmlParsingException.php21
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/Util/XmlUtils.php269
-rw-r--r--srcs/phpmyadmin/vendor/symfony/config/composer.json48
79 files changed, 0 insertions, 7839 deletions
diff --git a/srcs/phpmyadmin/vendor/symfony/config/CHANGELOG.md b/srcs/phpmyadmin/vendor/symfony/config/CHANGELOG.md
deleted file mode 100644
index a650e10..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/CHANGELOG.md
+++ /dev/null
@@ -1,108 +0,0 @@
-CHANGELOG
-=========
-
-4.4.0
------
-
- * added a way to exclude patterns of resources from being imported by the `import()` method
-
-4.3.0
------
-
- * deprecated using environment variables with `cannotBeEmpty()` if the value is validated with `validate()`
- * made `Resource\*` classes final and not implement `Serializable` anymore
- * deprecated the `root()` method in `TreeBuilder`, pass the root node information to the constructor instead
-
-4.2.0
------
-
- * deprecated constructing a `TreeBuilder` without passing root node information
- * renamed `FileLoaderLoadException` to `LoaderLoadException`
-
-4.1.0
------
-
- * added `setPathSeparator` method to `NodeBuilder` class
- * added third `$pathSeparator` constructor argument to `BaseNode`
- * the `Processor` class has been made final
-
-4.0.0
------
-
- * removed `ConfigCachePass`
-
-3.4.0
------
-
- * added `setDeprecated()` method to indicate a deprecated node
- * added `XmlUtils::parse()` method to parse an XML string
- * deprecated `ConfigCachePass`
-
-3.3.0
------
-
- * added `ReflectionClassResource` class
- * added second `$exists` constructor argument to `ClassExistenceResource`
- * made `ClassExistenceResource` work with interfaces and traits
- * added `ConfigCachePass` (originally in FrameworkBundle)
- * added `castToArray()` helper to turn any config value into an array
-
-3.0.0
------
-
- * removed `ReferenceDumper` class
- * removed the `ResourceInterface::isFresh()` method
- * removed `BCResourceInterfaceChecker` class
- * removed `ResourceInterface::getResource()` method
-
-2.8.0
------
-
-The edge case of defining just one value for nodes of type Enum is now allowed:
-
-```php
-$rootNode
- ->children()
- ->enumNode('variable')
- ->values(['value'])
- ->end()
- ->end()
-;
-```
-
-Before: `InvalidArgumentException` (variable must contain at least two
-distinct elements).
-After: the code will work as expected and it will restrict the values of the
-`variable` option to just `value`.
-
- * deprecated the `ResourceInterface::isFresh()` method. If you implement custom resource types and they
- can be validated that way, make them implement the new `SelfCheckingResourceInterface`.
- * deprecated the getResource() method in ResourceInterface. You can still call this method
- on concrete classes implementing the interface, but it does not make sense at the interface
- level as you need to know about the particular type of resource at hand to understand the
- semantics of the returned value.
-
-2.7.0
------
-
- * added `ConfigCacheInterface`, `ConfigCacheFactoryInterface` and a basic `ConfigCacheFactory`
- implementation to delegate creation of ConfigCache instances
-
-2.2.0
------
-
- * added `ArrayNodeDefinition::canBeEnabled()` and `ArrayNodeDefinition::canBeDisabled()`
- to ease configuration when some sections are respectively disabled / enabled
- by default.
- * added a `normalizeKeys()` method for array nodes (to avoid key normalization)
- * added numerical type handling for config definitions
- * added convenience methods for optional configuration sections to `ArrayNodeDefinition`
- * added a utils class for XML manipulations
-
-2.1.0
------
-
- * added a way to add documentation on configuration
- * implemented `Serializable` on resources
- * `LoaderResolverInterface` is now used instead of `LoaderResolver` for type
- hinting
diff --git a/srcs/phpmyadmin/vendor/symfony/config/ConfigCache.php b/srcs/phpmyadmin/vendor/symfony/config/ConfigCache.php
deleted file mode 100644
index 053059b..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/ConfigCache.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Config;
-
-use Symfony\Component\Config\Resource\SelfCheckingResourceChecker;
-
-/**
- * ConfigCache caches arbitrary content in files on disk.
- *
- * When in debug mode, those metadata resources that implement
- * \Symfony\Component\Config\Resource\SelfCheckingResourceInterface will
- * be used to check cache freshness.
- *
- * @author Fabien Potencier <fabien@symfony.com>
- * @author Matthias Pigulla <mp@webfactory.de>
- */
-class ConfigCache extends ResourceCheckerConfigCache
-{
- private $debug;
-
- /**
- * @param string $file The absolute cache path
- * @param bool $debug Whether debugging is enabled or not
- */
- public function __construct(string $file, bool $debug)
- {
- $this->debug = $debug;
-
- $checkers = [];
- if (true === $this->debug) {
- $checkers = [new SelfCheckingResourceChecker()];
- }
-
- parent::__construct($file, $checkers);
- }
-
- /**
- * Checks if the cache is still fresh.
- *
- * This implementation always returns true when debug is off and the
- * cache file exists.
- *
- * @return bool true if the cache is fresh, false otherwise
- */
- public function isFresh()
- {
- if (!$this->debug && is_file($this->getPath())) {
- return true;
- }
-
- return parent::isFresh();
- }
-}
diff --git a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactory.php b/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactory.php
deleted file mode 100644
index bfb70cb..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactory.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Config;
-
-/**
- * Basic implementation of ConfigCacheFactoryInterface that
- * creates an instance of the default ConfigCache.
- *
- * This factory and/or cache <em>do not</em> support cache validation
- * by means of ResourceChecker instances (that is, service-based).
- *
- * @author Matthias Pigulla <mp@webfactory.de>
- */
-class ConfigCacheFactory implements ConfigCacheFactoryInterface
-{
- private $debug;
-
- /**
- * @param bool $debug The debug flag to pass to ConfigCache
- */
- public function __construct(bool $debug)
- {
- $this->debug = $debug;
- }
-
- /**
- * {@inheritdoc}
- */
- public function cache($file, $callback)
- {
- if (!\is_callable($callback)) {
- throw new \InvalidArgumentException(sprintf('Invalid type for callback argument. Expected callable, but got "%s".', \gettype($callback)));
- }
-
- $cache = new ConfigCache($file, $this->debug);
- if (!$cache->isFresh()) {
- $callback($cache);
- }
-
- return $cache;
- }
-}
diff --git a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactoryInterface.php b/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactoryInterface.php
deleted file mode 100644
index 8e80142..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheFactoryInterface.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Config;
-
-/**
- * Interface for a ConfigCache factory. This factory creates
- * an instance of ConfigCacheInterface and initializes the
- * cache if necessary.
- *
- * @author Matthias Pigulla <mp@webfactory.de>
- */
-interface ConfigCacheFactoryInterface
-{
- /**
- * Creates a cache instance and (re-)initializes it if necessary.
- *
- * @param string $file The absolute cache file path
- * @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback
- *
- * @return ConfigCacheInterface The cache instance
- */
- public function cache($file, $callable);
-}
diff --git a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheInterface.php b/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheInterface.php
deleted file mode 100644
index 7c47ad7..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/ConfigCacheInterface.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Config;
-
-use Symfony\Component\Config\Resource\ResourceInterface;
-
-/**
- * Interface for ConfigCache.
- *
- * @author Matthias Pigulla <mp@webfactory.de>
- */
-interface ConfigCacheInterface
-{
- /**
- * Gets the cache file path.
- *
- * @return string The cache file path
- */
- public function getPath();
-
- /**
- * Checks if the cache is still fresh.
- *
- * This check should take the metadata passed to the write() method into consideration.
- *
- * @return bool Whether the cache is still fresh
- */
- public function isFresh();
-
- /**
- * Writes the given content into the cache file. Metadata will be stored
- * independently and can be used to check cache freshness at a later time.
- *
- * @param string $content The content to write into the cache
- * @param ResourceInterface[]|null $metadata An array of ResourceInterface instances
- *
- * @throws \RuntimeException When the cache file cannot be written
- */
- public function write($content, array $metadata = null);
-}
diff --git a/srcs/phpmyadmin/vendor/symfony/config/Definition/ArrayNode.php b/srcs/phpmyadmin/vendor/symfony/config/Definition/ArrayNode.php
deleted file mode 100644
index 3b2ace7..0000000
--- a/srcs/phpmyadmin/vendor/symfony/config/Definition/ArrayNode.php
+++ /dev/null
@@ -1,416 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\Config\Definition;
-
-use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
-use Symfony\Component\Config\Definition\Exception\InvalidTypeException;
-use Symfony\Component\Config\Definition\Exception\UnsetKeyException;
-
-/**
- * Represents an Array node in the config tree.
- *
- * @author Johannes M. Schmitt <schmittjoh@gmail.com>
- */
-class ArrayNode extends BaseNode implements PrototypeNodeInterface
-{
- protected $xmlRemappings = [];
- protected $children = [];
- protected $allowFalse = false;
- protected $allowNewKeys = true;
- protected $addIfNotSet = false;
- protected $performDeepMerging = true;
- protected $ignoreExtraKeys = false;
- protected $removeExtraKeys = true;
- protected $normalizeKeys = true;
-
- public function setNormalizeKeys($norma