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 f7679f74ae feature #21244 [DI] Remove synthetic services from methodMap + generated methods (nicolas-grekas)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[DI] Remove synthetic services from methodMap + generated methods

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

For synthetic services, the generated methods are just dead code to fill opcache ;)
And having them in "methodMap" prevents using the property for checking if a service comes from a (non-synthetic) definition or not.
This prepares some changes that we'd like to do in 4.0, see #19668.

Commits
-------

c1e1e999f3 [DI] Remove synthetic services from methodMap + generated methods
2017-01-15 08:42:11 -08:00
..
Compiler [DI] Deprecate case insentivity of service identifiers 2017-01-11 16:25:44 +01:00
Config [DI] Only rebuild autowiring cache when actually needed 2016-04-03 09:35:21 +02:00
Dumper [DI] Deprecate case insentivity of service identifiers 2017-01-11 16:25:44 +01:00
Extension fixed CS 2014-09-22 10:32:35 +02:00
Fixtures feature #21244 [DI] Remove synthetic services from methodMap + generated methods (nicolas-grekas) 2017-01-15 08:42:11 -08:00
LazyProxy fixed obsolete getMock() usage 2016-12-19 16:22:46 +01:00
Loader feature #20611 [DI] FileLoaders: Allow to explicit type to load (ogizanagi) 2017-01-10 07:50:45 -08:00
ParameterBag [DI] Allow null as default env value 2016-11-23 14:12:24 +01:00
ChildDefinitionTest.php bug #21072 [DI] Fix method autowiring in ResolveDefinitionTemplatesPass (dunglas) 2016-12-30 07:43:06 +01:00
ContainerBuilderTest.php [DI] Add tests for class named services 2017-01-07 16:55:01 +01:00
ContainerTest.php feature #21244 [DI] Remove synthetic services from methodMap + generated methods (nicolas-grekas) 2017-01-15 08:42:11 -08:00
CrossCheckTest.php [DI] Deprecate case insentivity of service identifiers 2017-01-11 16:25:44 +01:00
DefinitionDecoratorTest.php [DI] Fix method autowiring in ResolveDefinitionTemplatesPass 2016-12-28 11:50:08 +01:00
DefinitionTest.php [DependencyInjection] Introduce method injection for autowiring 2016-12-02 09:49:57 +01:00
ParameterTest.php removed all @covers annotations 2015-11-01 14:17:24 -08:00
ReferenceTest.php [DI] Deprecate case insentivity of service identifiers 2017-01-11 16:25:44 +01:00