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/Compiler
Fabien Potencier 3f5c0b1976 bug #21670 [DependencyInjection] Fix autowiring types when there are more than 2 services colliding (GuilhemN)
This PR was merged into the 2.8 branch.

Discussion
----------

[DependencyInjection] Fix autowiring types when there are more than 2 services colliding

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

There is a bug in the `AutowirePass`, when using more than 2 services colliding and you want to use the autowiring types: it may not work depending on their order because `notGuessableTypes` is not reset.

Commits
-------

5981278537 [DependencyInjection] Fix using autowiring types when there are more than 2 services
2017-02-19 09:43:44 -08:00
..
AnalyzeServiceReferencesPass.php removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
AutoAliasServicePass.php Add an auto_alias compiler pass 2015-02-12 18:47:12 +01:00
AutowirePass.php bug #21670 [DependencyInjection] Fix autowiring types when there are more than 2 services colliding (GuilhemN) 2017-02-19 09:43:44 -08:00
CheckCircularReferencesPass.php fixed CS 2017-01-21 08:52:33 -08:00
CheckDefinitionValidityPass.php Add "shared" flag and deprecate scopes concept 2015-06-24 12:32:32 -03:00
CheckExceptionOnInvalidReferenceBehaviorPass.php CS fixes 2014-12-03 20:10:26 +00:00
CheckReferenceValidityPass.php Merge branch '2.7' into 2.8 2015-09-26 21:48:07 +02:00
Compiler.php Merge branch '2.3' into 2.7 2016-04-14 17:17:41 +02:00
CompilerPassInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
DecoratorServicePass.php Merge branch '2.7' into 2.8 2016-10-24 08:52:36 -07:00
ExtensionCompilerPass.php CS: apply rules 2016-11-03 08:44:53 +01:00
InlineServiceDefinitionsPass.php [DependencyInjection] Allow anonymous DefinitionDecorator resolving 2015-06-25 13:06:10 +02:00
LoggingFormatter.php added some tests 2015-09-28 18:42:41 +02:00
MergeExtensionConfigurationPass.php [DI] Auto register extension configuration classes as a resource 2016-12-29 09:41:04 +00:00
PassConfig.php Merge branch '2.7' into 2.8 2017-02-16 14:43:37 -08:00
RemoveAbstractDefinitionsPass.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
RemovePrivateAliasesPass.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
RemoveUnusedDefinitionsPass.php made {@inheritdoc} annotations consistent across the board 2014-04-16 09:04:20 +02:00
RepeatablePassInterface.php fixed CS 2012-07-09 14:54:20 +02:00
RepeatedPass.php Minor cleanups and improvements 2016-09-06 09:06:41 -07:00
ReplaceAliasByActualDefinitionPass.php spelling fixes 2017-02-11 12:34:45 +01:00
ResolveDefinitionTemplatesPass.php [DIC] Fix service autowiring inheritance 2016-08-19 17:56:42 +02:00
ResolveInvalidReferencesPass.php Standardize the name of the exception variables 2015-06-15 18:26:34 +02:00
ResolveParameterPlaceHoldersPass.php Do not trigger deprecation error in ResolveParameterPlaceHoldersPass 2015-06-15 16:48:29 +02:00
ResolveReferencesToAliasesPass.php Merge branch '2.7' into 2.8 2016-07-30 03:20:35 -04:00
ServiceReferenceGraph.php fixed @return when returning this or static 2016-12-27 08:23:47 +01:00
ServiceReferenceGraphEdge.php Code enhancement and cleanup 2016-09-06 09:26:07 +02:00
ServiceReferenceGraphNode.php Merge branch '2.3' into 2.7 2016-04-14 17:17:41 +02:00