Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #9885 [Dependencyinjection] Fixed handling of inlined references …
…in the AnalyzeServiceReferencesPass (fabpot) This PR was merged into the 2.3 branch. Discussion ---------- [Dependencyinjection] Fixed handling of inlined references in the AnalyzeServiceReferencesPass | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #8299, #9829 | License | MIT | Doc PR | n/a Hopefully a better fix for #9829 (ping @jakzal). Unit tests coming soon. In some cases `InlineServiceDefinitionsPass` replaces a Reference with a service Definition. In such scenarios `AnalyzeServiceReferencesPass` was falling into an infinite loop. Commits ------- d650295 [DependencyInjection] fixed InlineServiceDefinitionsPass to not inline a service if it's part of the current definition (to avoid an infinite loop)
- Loading branch information