PHP: CakePHP

.

What does it do?

This will provide formatting for your code in the latest, greatest version of PHP CodeSniffer. Which enables you access to the following PHP coding standards:

  • CakePHP

The Sources

Docker: https://hub.docker.com/r/willhallonline/cakephp-phpcs/ GitHub: https://github.com/willhallonline/docker-cakephp-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/cakephp-phpcs:alpine phpcs"
phpcbf-drupal="docker_alias /app willhallonline/cakephp-phpcs:alpine phpcbf"

Container

docker pull willhallonline/cakephp-phpcs:alpine

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

docker pull willhallonline/cakephp-phpcs

Find out more