PHP: Drupal


What does it do?

This will provide formatting for your code in the latest, greatest version of Drupal coding standards.

The Sources

Docker: GitHub:


Commands you can run to use this.


Aliases you can use from the Docker DevTools aliases.

phpcs-drupal="docker_alias /app willhallonline/drupal-phpcs:alpine phpcs --extensions=php,inc,install,module,theme"
phpcbf-drupal="docker_alias /app willhallonline/drupal-phpcs:alpine phpcbf --extensions=php,inc,install,module,theme"


docker pull willhallonline/drupal-phpcs:alpine

OR (if you want based on Debian rather than Alpine)

docker pull willhallonline/drupal-phpcs

Find out more