Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] Sort services in service locator according to priority#42532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| } | ||
| $refMap[$id] =newServiceClosureArgument($ref); | ||
| } | ||
| ksort($refMap); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
As I understand sort here is for easy testing
carsonbot commentedAug 14, 2021
Hey! I think@fancyweb has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
nicolas-grekas commentedAug 18, 2021
Can you please add a test case that covers the new behavior? |
nicolas-grekas commentedAug 18, 2021
Oh, and please have a look at failing test cases. |
nicolas-grekas commentedSep 8, 2021
Friendly ping@BoShurik |
BoShurik commentedSep 8, 2021
@nicolas-grekas yes, it's in my todo-list for this week |
BoShurik commentedSep 9, 2021
@nicolas-grekas I am not sure how to fix |
nicolas-grekas commentedSep 9, 2021
no need to exclude: we should patch 4.4 instead to relax the test case, which is too strict apparently |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(but please send a PR for 4.4 to relax the tests)
fabpot commentedSep 10, 2021
Thank you@BoShurik. |
… according to priority (BoShurik)This PR was merged into the 5.4 branch.Discussion----------[DependencyInjection] Sort services in service locator according to priority| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets |Fix#42506| License | MIT| Doc PR | -Commits-------c67c2df Sort services in service locator according to priority
Uh oh!
There was an error while loading.Please reload this page.