e6954494af
This PR was squashed before being merged into the 4.3-dev branch (closes #28858).
Discussion
----------
[DI] Deprecated using env vars with cannotBeEmpty()
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes-ish
| New feature? | yes
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | yes
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | #28827
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
Continuation of #28838 for 4.2
Using environment variables for nodes marked `cannotBeEmpty()` is semantically not possible, we'll never know the value is empty yes/no during compile time. Neither we should assume one or another.
Commits
-------
|
||
---|---|---|
.. | ||
Argument | ||
Compiler | ||
Config | ||
Dumper | ||
Extension | ||
Fixtures | ||
LazyProxy | ||
Loader | ||
ParameterBag | ||
ChildDefinitionTest.php | ||
ContainerBuilderTest.php | ||
ContainerTest.php | ||
CrossCheckTest.php | ||
DefinitionTest.php | ||
EnvVarProcessorTest.php | ||
ParameterTest.php | ||
ReferenceTest.php | ||
ServiceLocatorTest.php |