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
Nicolas Grekas 104e92206c feature #28571 [DependencyInjection] Improve ServiceLocatorTagPass service matching (codedmonkey)
This PR was squashed before being merged into the 4.2-dev branch (closes #28571).

Discussion
----------

[DependencyInjection] Improve ServiceLocatorTagPass service matching

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26892
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/pull/10397

Allows omitting of keys for service locator arguments (it will automatically take over the original definition alias).

Commits
-------

1c1210a3e8 [DependencyInjection] Improve ServiceLocatorTagPass service matching
2018-10-03 09:27:24 +02:00
..
AbstractRecursivePass.php third parameter of sprintf missing in AbstractRecursivePass::getExpressionLanguage 2018-09-29 23:11:02 +02:00
AnalyzeServiceReferencesPass.php Merge branch '4.1' 2018-09-21 14:51:02 +02:00
AutoAliasServicePass.php [DI] Turn services and aliases private by default, with BC layer 2017-09-19 11:28:48 +02:00
AutowirePass.php [DI] Allow autowiring by type + parameter name 2018-08-23 11:47:19 +02:00
AutowireRequiredMethodsPass.php [DI] Add AutowireRequiredMethodsPass to fix bindings for @required methods 2017-09-25 10:48:11 +02:00
CheckArgumentsValidityPass.php Merge branch '3.4' into 4.0 2018-07-26 10:51:09 +02:00
CheckCircularReferencesPass.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
CheckDefinitionValidityPass.php Merge branch '3.4' into 4.1 2018-09-08 15:24:10 +02:00
CheckExceptionOnInvalidReferenceBehaviorPass.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
CheckReferenceValidityPass.php Merge branch '2.8' into 3.4 2018-09-08 15:15:14 +02:00
Compiler.php Merge branch '3.4' into 4.0 2018-07-26 10:51:09 +02:00
CompilerPassInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
DecoratorServicePass.php Merge branch '4.0' into 4.1 2018-07-26 11:10:45 +02:00
DefinitionErrorExceptionPass.php [DI] Add ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE 2018-03-24 17:54:13 +01:00
ExtensionCompilerPass.php CS: apply rules 2016-11-03 08:44:53 +01:00
InlineServiceDefinitionsPass.php Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
MergeExtensionConfigurationPass.php Merge branch '4.0' into 4.1 2018-07-26 10:55:25 +02:00
PassConfig.php Merge branch '3.4' into 4.0 2018-07-26 10:51:09 +02:00
PriorityTaggedServiceTrait.php Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
RegisterEnvVarProcessorsPass.php Merge branch '2.8' into 3.4 2018-07-26 11:06:28 +02:00
RegisterServiceSubscribersPass.php [DI] leverage Contracts\Service 2018-09-04 19:12:10 +02:00
RemoveAbstractDefinitionsPass.php Merge branch '2.8' into 3.3 2017-10-24 16:05:06 +02:00
RemovePrivateAliasesPass.php Merge branch '3.4' 2017-10-24 16:16:56 +02:00
RemoveUnusedDefinitionsPass.php Merge branch '3.4' into 4.0 2018-07-26 10:51:09 +02:00
RepeatablePassInterface.php [DI] Improve performance of removing/inlining passes 2018-06-05 13:59:51 +02:00
RepeatedPass.php [DI] Improve performance of removing/inlining passes 2018-06-05 13:59:51 +02:00
ReplaceAliasByActualDefinitionPass.php improved message when alias service is not found 2018-09-23 11:10:46 +02:00
ResolveBindingsPass.php Merge branch '4.1' 2018-07-26 11:13:01 +02:00
ResolveChildDefinitionsPass.php Merge branch '3.4' into 4.1 2018-09-18 14:45:12 +02:00
ResolveClassPass.php Merge branch '3.4' into 4.0 2018-07-26 11:08:35 +02:00
ResolveEnvPlaceholdersPass.php Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
ResolveFactoryClassPass.php Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
ResolveHotPathPass.php [DI] Fix missing "id" normalization when dumping the container 2018-03-02 14:51:21 +01:00
ResolveInstanceofConditionalsPass.php feature #27806 [DI] Allow autoconfiguring bindings (nicolas-grekas) 2018-08-08 10:30:15 +02:00
ResolveInvalidReferencesPass.php Merge branch '4.0' into 4.1 2018-07-26 11:10:45 +02:00
ResolveNamedArgumentsPass.php Merge branch '4.0' into 4.1 2018-07-26 10:55:25 +02:00
ResolveParameterPlaceHoldersPass.php Merge branch '3.4' into 4.0 2018-07-26 10:51:09 +02:00
ResolvePrivatesPass.php [DI] Turn private defs to non-public ones before removing passes 2017-10-07 10:21:26 +02:00
ResolveReferencesToAliasesPass.php Merge branch '3.4' into 4.1 2018-08-08 10:25:44 +02:00
ResolveServiceSubscribersPass.php Merge branch '3.4' into 4.0 2018-06-25 13:12:25 +02:00
ResolveTaggedIteratorArgumentPass.php [DI] Reference tagged services in config 2017-09-28 16:10:08 +02:00
ServiceLocatorTagPass.php [DependencyInjection] Improve ServiceLocatorTagPass service matching 2018-10-03 09:27:17 +02:00
ServiceReferenceGraph.php Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
ServiceReferenceGraphEdge.php Remove some visual debt by adding type hints on final methods/classes 2017-10-24 16:36:35 +02:00
ServiceReferenceGraphNode.php Merge branch '3.4' into 4.0 2018-07-26 11:08:35 +02:00
ValidateEnvPlaceholdersPass.php fix handling of empty DI extension configs 2018-06-26 09:48:43 +02:00