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:
- Laravel
The Sources
Docker: https://hub.docker.com/r/willhallonline/laravel-phpcs/ GitHub: https://github.com/willhallonline/docker-laravel-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/laravel-phpcs:alpine phpcs"
phpcbf-drupal="docker_alias /app willhallonline/laravel-phpcs:alpine phpcbf"
Container
docker pull willhallonline/laravel-phpcs:alpine
OR (if you want based on Debian rather than Alpine)
docker pull willhallonline/laravel-phpcs