coding-standards
coding-standards copied to clipboard
Remove deprecated/removed PSR-2-R rule
The PSR2R.Namespaces.UseInAlphabeticalOrder rule has been removed from the PSR-2-R standard, so we should remove it, too. As soon as we'd update the standard, it would break anyway. See #245.
We'll need to copy the rule itself over I think?
@rmccue well, it's not working as intended, that's why it has been removed. If we want to keep the behavior, I suggest to use the AlphabeticallySortedUses sniff in the Slevomat Coding Standards. This is already a dependency of PSR-2-R, as of version 1.0.0.
Works for me; can you update this PR to do so?