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 15cb83bfa0 bug #19708 [DI] Dont use Container::get() when fetching private services internally (nicolas-grekas)
This PR was merged into the 3.2-dev branch.

Discussion
----------

[DI] Dont use Container::get() when fetching private services internally

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #19683, #19682, #19680
| License       | MIT

As spotted by @wouterj, we forgot to remove the deprecation notice when doing internal calls to get private services.

Yet, we don't need to get through this `get()` method, because we can already resolve many things at compile time for private services. This will provide another small performance optim, and fix the issue.

Commits
-------

a9c79fb [DI] Dont use Container::get() when fetching private services internally
2016-09-01 10:39:44 -07:00
..
Compiler Merge branch '3.1' 2016-08-22 14:11:39 +02:00
Config [DI] Only rebuild autowiring cache when actually needed 2016-04-03 09:35:21 +02:00
Dumper Merge branch '3.0' into 3.1 2016-07-26 10:04:17 +02:00
Extension fixed CS 2014-09-22 10:32:35 +02:00
Fixtures bug #19708 [DI] Dont use Container::get() when fetching private services internally (nicolas-grekas) 2016-09-01 10:39:44 -07:00
LazyProxy removed all @covers annotations 2015-11-01 14:17:24 -08:00
Loader Merge branch '2.8' into 3.1 2016-08-05 10:37:39 +02:00
ParameterBag removed all @covers annotations 2015-11-01 14:17:24 -08:00
ContainerBuilderTest.php Merge branch '2.8' into 3.1 2016-08-05 10:37:39 +02:00
ContainerTest.php Merge branch '3.1' 2016-08-23 15:40:05 +02:00
CrossCheckTest.php Fix PHP 7.1 related failures 2016-07-19 10:44:18 +02:00
DefinitionDecoratorTest.php Merge branch '2.8' into 3.1 2016-08-22 14:11:19 +02:00
DefinitionTest.php Remove unused imports 2016-01-21 00:01:55 +02:00
ParameterTest.php removed all @covers annotations 2015-11-01 14:17:24 -08:00
ReferenceTest.php removed all @covers annotations 2015-11-01 14:17:24 -08:00