- Issue created by @elc
The uses sorting sniff has been reverted out of coder by default, but it can still be optionally enabled.
π
Revert case sensitive use-statement sniff
Active
Use ordering enforcement is important on a project with disparate contributors to avoid any automated tools or IDE ping-ponging back and forth about the ordering. With a standard enforced on the MR, that will be the standard that code must meet.
Not yet a coding standard, but in the works, pending phpstorm fixing their auto-uses.
π
Coding standards for "use" statements
RTBC
Without adding the sniff, ordering is not checked or enforced.
Add a use in the wrong order and commit it. It will not be picked up by phpcs.
Enforce a known ordering during testing.
Add phpcs.xml with expected standards.
n/a
n/a
n/a
NB: Will not trigger a release on its own.
Active
2.1
Testing