Skip to content

[FrameworkBundle] Sort tagged services #33128

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Conversation

Kr42
Copy link
Contributor

@Kr42 Kr42 commented Aug 12, 2019

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

Hi

This PR it's to improve DX when debug:container command is use with tag argument by sorting them by priority (More details in linked issue).
Currently they are sort by alphabetical order.

@Kr42 Kr42 changed the title Sort tagged services [FrameworkBundle] Sort tagged services Aug 13, 2019
@Kr42 Kr42 force-pushed the sort-tagged-services branch 4 times, most recently from 8a84413 to ffb77e8 Compare August 13, 2019 19:54
@Kr42 Kr42 force-pushed the sort-tagged-services branch from ffb77e8 to 1aa12d0 Compare August 14, 2019 08:32
@Kr42 Kr42 force-pushed the sort-tagged-services branch 3 times, most recently from ae6e875 to 42c0188 Compare August 28, 2019 11:01
@Kr42 Kr42 force-pushed the sort-tagged-services branch 2 times, most recently from 67706ac to 2f2325e Compare September 2, 2019 09:33
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks nice! Thanks for this contribution!

I left a minor comment about something that I don't understand.

@fabpot
Copy link
Member

fabpot commented Sep 25, 2019

Thank you @krome162504.

fabpot added a commit that referenced this pull request Sep 25, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] Sort tagged services

| Q             | A
| ------------- | ---
| Branch?       | 4.4  <!-- see below -->
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets |  #32439 <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        |  -

Hi

This PR it's to improve DX when `debug:container` command is use with tag argument by sorting them by priority (More details in linked issue).
Currently they are sort by alphabetical order.

Commits
-------

54cef2a [FrameworkBundle] Sort tagged service by priority
@fabpot fabpot merged commit 54cef2a into symfony:4.4 Sep 25, 2019
@Kr42 Kr42 deleted the sort-tagged-services branch October 12, 2019 07:36
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants