Closed ainehickey closed 4 years ago
Yes, we don’t support group uses.
Yes, we don’t support group uses.
Ah, ok. Thanks.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sniff: SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses Version: slevomat/coding-standard - 6.1.1, squizlabs/php_codesniffer - 3.5.3
I think I might have found a bug. I have a file. The Namespaces aren't alphabetic, but I'm using grouped namespaces.
Before fix code:
I'd like my namespaces to be alphabetic.
My ruleset:
When I run phpcs it over my file, I get an error. Super, as this is correct
But when I try to automatically fix it, I run into an issue.
After fix code:
The grouped namespace outside the brackets has been deleted, and one one of the class names remains.
Please let me know if I'm doing something wrong or if you need any more info.