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
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
..
Argument Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
Compiler feature #28858 [DI] Deprecated using env vars with cannotBeEmpty() (ro0NL) 2018-12-01 10:04:06 +01:00
Config [DI] Remove remaining deprecated features 2017-07-12 12:42:06 +02:00
Dumper feature #28976 [DI] Add a "default" EnvProcessor (jderusse) 2018-12-01 10:02:00 +01:00
Extension do not mock the container builder in tests 2018-02-08 09:15:30 +01:00
Fixtures feature #28976 [DI] Add a "default" EnvProcessor (jderusse) 2018-12-01 10:02:00 +01:00
LazyProxy [DI][ProxyManager] Pass the factory code to execute to DumperInterface::getProxyFactoryCode() 2017-07-27 19:12:50 +02:00
Loader [Config] fix path exclusion during glob discovery 2018-11-30 23:21:14 +01:00
ParameterBag fixed usage of setUp in tests 2018-09-04 08:24:48 +02:00
ChildDefinitionTest.php [DI] Remove remaining deprecated features 2017-07-12 12:42:06 +02:00
ContainerBuilderTest.php Merge branch '4.1' 2018-11-06 18:10:56 +01:00
ContainerTest.php [DI] Forward Container::reset() to services implementing ResetInterface 2018-09-05 10:53:48 +02:00
CrossCheckTest.php Merge branch '3.4' into 4.0 2018-07-26 11:08:35 +02:00
DefinitionTest.php Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
EnvVarProcessorTest.php [DI] Add a \"default\" EnvProcessor 2018-12-01 10:01:52 +01:00
ParameterTest.php Update to PHPUnit namespaces 2017-02-18 08:02:39 -08:00
ReferenceTest.php Merge branch '3.2' 2017-02-18 18:35:19 +01:00
ServiceLocatorTest.php [DI] leverage Contracts\Service 2018-09-04 19:12:10 +02:00