The composer plugin DealerDirect/phpcodesniffer-composer-installer automatically adds all PHP CodeSniffer Coding standards located in the vendor directory.
Unfortunately, phpcs will reports MO4 as mo4-coding-standard because the Coding Standards are named after the Directory that contains the ruleset.xml
So, a new Subdirectory MO4 is required, and all PHP CodeSniffer related code has to move in it.
This will break current installation, but ease up new projects. This would require a release tag with increased major version, since this is a breaking change. It would also be helpful to create a release for the current code, so legacy project can rely on it.
The composer plugin DealerDirect/phpcodesniffer-composer-installer automatically adds all PHP CodeSniffer Coding standards located in the
vendor
directory. Unfortunately, phpcs will reportsMO4
asmo4-coding-standard
because the Coding Standards are named after the Directory that contains theruleset.xml
So, a new Subdirectory
MO4
is required, and all PHP CodeSniffer related code has to move in it.This will break current installation, but ease up new projects. This would require a release tag with increased major version, since this is a breaking change. It would also be helpful to create a release for the current code, so legacy project can rely on it.
Documentation will also need an update 😺