This standard can be installed with the Composer dependency manager.
-
Install the coding standard as a dependency of your project
composer require --dev imagecms/coding-standard:>=1.0
-
Add the coding standard to the PHP_CodeSniffer install path
application/third_party/bin/phpcs --config-set installed_paths application/third_party/imagecms/coding-standard
-
Check the installed coding standards for "ImageCMS"
application/third_party/bin/phpcs -i
-
Done!
application/third_party/bin/phpcs /path/to/code