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/DependencyInjection/Tests/Compiler
Nicolas Grekas e6954494af feature #28858 [DI] Deprecated using env vars with cannotBeEmpty() (ro0NL)
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
-------

397c19ee5f [DI] Deprecated using env vars with cannotBeEmpty()
2018-12-01 10:04:06 +01:00
..
AnalyzeServiceReferencesPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
AutoAliasServicePassTest.php Merge branch '2.8' into 3.2 2017-06-02 16:37:52 +02:00
AutowirePassTest.php [DI] Allow autowiring by type + parameter name 2018-08-23 11:47:19 +02:00
AutowireRequiredMethodsPassTest.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
CheckArgumentsValidityPassTest.php Adding Definition::addError() and a compiler pass to throw errors as exceptions 2017-09-25 11:28:57 +02:00
CheckCircularReferencesPassTest.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
CheckDefinitionValidityPassTest.php Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
CheckExceptionOnInvalidReferenceBehaviorPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
CheckReferenceValidityPassTest.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
CustomExpressionLanguageFunctionTest.php [DI] fix copying expression providers when analyzing the service graph 2018-11-25 12:18:11 +01:00
DecoratorServicePassTest.php Merge branch '3.4' into 4.1 2018-10-31 11:54:16 +01:00
DefinitionErrorExceptionPassTest.php Adding Definition::addError() and a compiler pass to throw errors as exceptions 2017-09-25 11:28:57 +02:00
ExtensionCompilerPassTest.php do not mock the container builder in tests 2018-02-14 11:03:57 +01:00
InlineServiceDefinitionsPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
IntegrationTest.php Merge branch '4.0' into 4.1 2018-07-26 11:10:45 +02:00
MergeExtensionConfigurationPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
OptionalServiceClass.php Merge branch '2.7' into 2.8 2017-11-19 21:05:05 +02:00
PassConfigTest.php Merge branch '4.0' into 4.1 2018-07-26 11:10:45 +02:00
PriorityTaggedServiceTraitTest.php [DI] Minor performance tweak in PriorityTaggedServiceTrait 2018-05-03 17:03:52 -07:00
RegisterEnvVarProcessorsPassTest.php [DI] Add a \"default\" EnvProcessor 2018-12-01 10:01:52 +01:00
RegisterServiceSubscribersPassTest.php [DI] leverage Contracts\Service 2018-09-04 19:12:10 +02:00
RemoveUnusedDefinitionsPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
ReplaceAliasByActualDefinitionPassTest.php Merge branch '2.8' into 3.2 2017-02-18 18:28:00 +01:00
ResolveBindingsPassTest.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
ResolveChildDefinitionsPassTest.php Merge branch '3.4' into 4.1 2018-09-18 14:45:12 +02:00
ResolveClassPassTest.php [DI] Populate class of ChildDefinition when its id matches an existing FQCN 2017-04-10 18:46:19 +02:00
ResolveFactoryClassPassTest.php Updated to PHPUnit namespaces 2017-02-20 14:56:45 +01:00
ResolveHotPathPassTest.php [DI] Skip hot_path tag for deprecated services as their class might also be 2017-11-19 23:04:27 +01:00
ResolveInstanceofConditionalsPassTest.php feature #27806 [DI] Allow autoconfiguring bindings (nicolas-grekas) 2018-08-08 10:30:15 +02:00
ResolveInvalidReferencesPassTest.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
ResolveNamedArgumentsPassTest.php [DependencyInjection] Added support for variadics in named arguments 2017-12-01 06:31:04 -08:00
ResolveParameterPlaceHoldersPassTest.php [DI] Fix cannot bind env var 2017-11-07 09:01:11 +01:00
ResolvePrivatesPassTest.php [DI] Turn private defs to non-public ones before removing passes 2017-10-07 10:21:26 +02:00
ResolveReferencesToAliasesPassTest.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
ResolveTaggedIteratorArgumentPassTest.php [DI] Reference tagged services in config 2017-09-28 16:10:08 +02:00
ServiceLocatorTagPassTest.php [DependencyInjection] Improve ServiceLocatorTagPass service matching 2018-10-03 09:27:17 +02:00
ValidateEnvPlaceholdersPassTest.php feature #28858 [DI] Deprecated using env vars with cannotBeEmpty() (ro0NL) 2018-12-01 10:04:06 +01:00