This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Config/Definition
Ryan Weaver 026ab6c6ce [Config] Adding an ignoreExtraKeys options, which allows you to let options simply be ignore without throwing a validation exception.
I had thought that this was unnecessary - when would you ever want to just let "extra" options fail silently?

But, the SecurityExtension takes advantage of this by creating two separate config trees. The first tree looks for just one particular value on the configuration array and ignores the rest. So, there *is* a use-case for allowing all extra fields to simply be ignored, though this should not be the norm.
2011-02-18 13:31:14 -06:00
..
Builder [Config] Renaming NodeBuilder::nodeBuilder() to NodeBuilder::builder() due to the fact that PHP can get confused when you have a __construct() method *and* a method that has the same name as the class (looks like two constructors to PHP). 2011-02-18 07:31:00 -06:00
ArrayNodeTest.php [Config] Adding an ignoreExtraKeys options, which allows you to let options simply be ignore without throwing a validation exception. 2011-02-18 13:31:14 -06:00
FinalizationTest.php moved DependencyInjection\Configuration to Config\Definition 2011-02-17 16:03:48 +01:00
MergeTest.php moved DependencyInjection\Configuration to Config\Definition 2011-02-17 16:03:48 +01:00
NormalizationTest.php moved DependencyInjection\Configuration to Config\Definition 2011-02-17 16:03:48 +01:00
ScalarNodeTest.php moved DependencyInjection\Configuration to Config\Definition 2011-02-17 16:03:48 +01:00