-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ordered_class_elements
should have per-item sorting setting
#6591
Comments
I think 2746 and 6360 don't benefit from If you not configure Can you maybe provide an PHP examples with expected input, config and output? |
Thanks for your response, I appreciate.
I've checked it locally - and looks like I got it wrong. I thought that it's expected behavior - but according to your reply (and my test that I've created to illustrate it) I understood that we should clarify it.
Please review the test I've added to #6592 - and let's investigate whether it's expected or not. |
It is kind of expected, as the feature was indeed build as |
This comment was marked as outdated.
This comment was marked as outdated.
ordered_class_elements
should have per-item sorting setting
Problem description
There is no way to switch on/off sorting on per-item basis.
sort_algorithm
works for all of them, all at once: either sort them all byalpha
or sort them all usingnone
. One can't set another sorting for some items.Feature request
E.g., it could be useful in such case:
I mean sort everything except any methods. Or other cases - in any combinations that are allowed by this setting syntax.
It looks totally reasonable: to have one option as a default for non-mentioned (
sort_algorihm
) while another could re-define, overwrite its behavior by per-item setting.I guess this feature could help resolving other issues reported here in issue queue, such as #2746 (if applied together with #6360 ) and partially #4513 .
The text was updated successfully, but these errors were encountered: