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: https://hub.docker.com/r/willhallonline/drupal-phpcs/ GitHub: https://github.com/willhallonline/docker-drupal-phpcs

Commands

Commands you can run to use this.

Aliases

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"

Container

docker pull willhallonline/drupal-phpcs:alpine

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

docker pull willhallonline/drupal-phpcs

Find out more