PHP CodeSniffer
Run phpcs on your custom modules
Local Setup:
composer global require drupal/coder:^8.3.1./vendor/bin/phpcs --config-set installed_paths ~/.config/composer/vendor/drupal/coder/coder_sniffer/./vendor/bin/phpcs --standard=Drupal docroot/modules/custom/Last updated
Was this helpful?