Set of modules and libraries and configurations that helps quality assurance in Drupal.
composer drupalqa:phpcs:config-install
- installs Pronovix's PHP CodeSniffer configuration for Drupal projects (the plugin tries to install it automatically when it gets installed)composer drupalqa:testrunner:download
- installs latest version of Pronovix's TestRunner Go application from Github. (You can avoid API rate limit error if you configure your Github OAuth access token.)composer normalize
- Normalizes the composer.json (provided bylocalheinz/composer-normalize
)./vendor/bin/drupal-check
- Checks Drupal 8 code for deprecations and code quality issues. (provided bymglaman/drupal-check
)./vendor/bin/twigcs
- Checks TWIG files for violations on coding standards. (provided byfriendsoftwig/twigcs
)
- Composer Normalize: https://github.com/localheinz/composer-normalize
- PHP CodeSniffer Standards Composer Installer Plugin: https://github.com/Dealerdirect/phpcodesniffer-composer-installer
- Drupal Check: https://github.com/mglaman/drupal-check
- Slevomat Coding Standard: https://github.com/slevomat/coding-standard
- Behat Screenshot Extension: https://github.com/elvetemedve/behat-screenshot
- Behat Drupal Extension: https://github.com/jhedstrom/drupalextension
Plus various other packages (like Drupal Coder, PHPUnit, etc.) required by webflo/drupal-core-require-dev.
- Drupal Check is currently locked at 1.0.14 because 1.1.0 introduced a CI breaking change, see the related github issue.