/drupal-qa

[READ ONLY] QA tools for Drupal

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Drupal QA

Set of modules and libraries and configurations that helps quality assurance in Drupal.

Available commands

  • 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 by localheinz/composer-normalize)
  • ./vendor/bin/drupal-check - Checks Drupal 8 code for deprecations and code quality issues. (provided by mglaman/drupal-check)
  • ./vendor/bin/twigcs - Checks TWIG files for violations on coding standards. (provided by friendsoftwig/twigcs)

Packages included

Code quality

Testing

Plus various other packages (like Drupal Coder, PHPUnit, etc.) required by webflo/drupal-core-require-dev.

Important Notes

  • Drupal Check is currently locked at 1.0.14 because 1.1.0 introduced a CI breaking change, see the related github issue.