This GitHub action allows to check your code against the Drupal PHP coding standards.

  • It has GitHub annotations working out-of-the box, without any special token needed;
  • It's lightweight: unlike most other actions, it does NOT install all your composer dependencies. Thanks to this, a lot of GitHub action minutes can be saved over the time. Also, the action is much quicker. The downside is that the Drupal and DrupalPractice PHPCS standards are fixed and do not depend on your code base.

It's designed to be used in a Drupal project following the https://github.com/drupal-composer/drupal-project architecture.

Link: https://github.com/guix77/phpcs-drupal-action

Image
PHPCS Drupal action

Commentaires

Thank you for sharing this. Just popped it into a project and it is working well!

Add new comment

Comment