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
Fabien Potencier b95a05a8c4 bug #25268 [DI] turn $private to protected in dumped container, to make cache:clear BC (nicolas-grekas)
This PR was merged into the 4.0 branch.

Discussion
----------

[DI] turn $private to protected in dumped container, to make cache:clear BC

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

Turning this property to protected changes nothing to its visibility in practice as the class is final anyway,
but when migrating to SF4.0 from 3.4, the `cache:clear` command chokes with "Compile Error: Access level to srcDevDebugProjectContainer::$privates must be protected".

Let's make it protected to remove this WTF.

Commits
-------

c98d967b0c [DI] turn $private to protected in dumped container, to make cache:clear BC
2017-12-04 08:50:56 -08:00
..
Argument [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument 2017-03-17 17:49:32 +01:00
Compiler bug #25155 [DependencyInjection] Detect case mismatch in autowiring (Simperfit, sroze) 2017-11-30 15:32:51 +01:00
Config [DI] Remove remaining deprecated features 2017-07-12 12:42:06 +02:00
Dumper Merge branch '3.4' into 4.0 2017-12-01 20:20:47 +01:00
Extension Update to PHPUnit namespaces 2017-02-18 08:02:39 -08:00
Fixtures bug #25268 [DI] turn $private to protected in dumped container, to make cache:clear BC (nicolas-grekas) 2017-12-04 08:50:56 -08:00
LazyProxy [DI][ProxyManager] Pass the factory code to execute to DumperInterface::getProxyFactoryCode() 2017-07-27 19:12:50 +02:00
Loader Merge branch '3.4' 2017-11-19 20:43:46 +02:00
ParameterBag [DI] Remove case insensitive parameter names 2017-08-31 15:47:29 +02:00
ChildDefinitionTest.php [DI] Remove remaining deprecated features 2017-07-12 12:42:06 +02:00
ContainerBuilderTest.php Ensure services & aliases can be referred to with __toStringable objects 2017-12-03 13:36:40 +00:00
ContainerTest.php Add test case for #25264 2017-12-04 10:23:02 +01:00
CrossCheckTest.php [DI] Remove deprecated case insensitive service ids 2017-07-11 16:00:59 +02:00
DefinitionTest.php Merge branch '3.4' 2017-09-26 08:12:47 +02: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 Allow to get alternatives when ServiceNotFoundException occurs. 2017-08-17 15:22:42 +03:00