Install PHP CodeSniffer github.com/squizlabs/PHP_CodeSniffer with
composer require --dev squizlabs/php_codesniffer or composer require --dev arxeiss/coding-standards to install directly my prepared set of rules.
Prepare your own XML config, sample one is in my repo above too
And then just run ./vendor/bin/phpcs --standard=./phpcs.xml
I'm running this in CI/CD. Basically you
composer require --dev squizlabs/php_codesnifferorcomposer require --dev arxeiss/coding-standardsto install directly my prepared set of rules../vendor/bin/phpcs --standard=./phpcs.xmlFantastic easy enough, thanks a lot for the info.