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
-------
|
||
---|---|---|
.. | ||
AnalyzeServiceReferencesPassTest.php | ||
AutoAliasServicePassTest.php | ||
AutowirePassTest.php | ||
AutowireRequiredMethodsPassTest.php | ||
CheckArgumentsValidityPassTest.php | ||
CheckCircularReferencesPassTest.php | ||
CheckDefinitionValidityPassTest.php | ||
CheckExceptionOnInvalidReferenceBehaviorPassTest.php | ||
CheckReferenceValidityPassTest.php | ||
CustomExpressionLanguageFunctionTest.php | ||
DecoratorServicePassTest.php | ||
DefinitionErrorExceptionPassTest.php | ||
ExtensionCompilerPassTest.php | ||
InlineServiceDefinitionsPassTest.php | ||
IntegrationTest.php | ||
MergeExtensionConfigurationPassTest.php | ||
OptionalServiceClass.php | ||
PassConfigTest.php | ||
PriorityTaggedServiceTraitTest.php | ||
RegisterEnvVarProcessorsPassTest.php | ||
RegisterServiceSubscribersPassTest.php | ||
RemoveUnusedDefinitionsPassTest.php | ||
ReplaceAliasByActualDefinitionPassTest.php | ||
ResolveBindingsPassTest.php | ||
ResolveChildDefinitionsPassTest.php | ||
ResolveClassPassTest.php | ||
ResolveFactoryClassPassTest.php | ||
ResolveHotPathPassTest.php | ||
ResolveInstanceofConditionalsPassTest.php | ||
ResolveInvalidReferencesPassTest.php | ||
ResolveNamedArgumentsPassTest.php | ||
ResolveParameterPlaceHoldersPassTest.php | ||
ResolvePrivatesPassTest.php | ||
ResolveReferencesToAliasesPassTest.php | ||
ResolveTaggedIteratorArgumentPassTest.php | ||
ServiceLocatorTagPassTest.php | ||
ValidateEnvPlaceholdersPassTest.php |