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/src/Symfony/Component/Config
Fabien Potencier 21a3439a29 feature #27476 [Config] deprecate tree builders without root nodes (xabbuh)
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Config] deprecate tree builders without root nodes

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

While reviewing #27472 I wondered if we really need support config trees without a root node. If we did not support it, users wouldn't create pseudo configuration classes when they were actually not needed.

Commits
-------

c2ce15301c deprecate tree builders without root nodes
2018-06-25 19:06:32 +02:00
..
Definition deprecate tree builders without root nodes 2018-06-19 14:34:32 +02:00
Exception Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
Loader Merge branch '3.4' into 4.0 2018-02-04 14:31:53 +01:00
Resource Merge branch '3.4' into 4.0 2018-06-20 13:15:04 +02:00
Tests deprecate tree builders without root nodes 2018-06-19 14:34:32 +02:00
Util Merge branch '3.3' into 3.4 2017-11-07 13:10:25 +01:00
.gitignore
CHANGELOG.md deprecate tree builders without root nodes 2018-06-19 14:34:32 +02:00
composer.json updated version to 4.2 2018-05-07 16:51:25 +02:00
ConfigCache.php Merge branch '2.7' into 2.8 2017-12-31 05:47:31 +01:00
ConfigCacheFactory.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
ConfigCacheFactoryInterface.php fixes CS 2015-08-24 09:13:45 +02:00
ConfigCacheInterface.php removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
FileLocator.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
FileLocatorInterface.php Use a dedicated exception in the file locator 2016-08-09 07:23:16 -07:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
ResourceCheckerConfigCache.php [Cache][Security] Use Throwable where possible 2018-06-08 11:29:49 +02:00
ResourceCheckerConfigCacheFactory.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
ResourceCheckerInterface.php fixed CS 2016-06-29 07:31:50 +02:00

Config Component

The Config component provides several classes to help you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).

Resources