A simple docker container with just PHP_CodeSniffer for linting and fixing PHP code against defined coding standards.
docker run --rm mdouglas/php-cs phpcs --help
docker run --rm mdouglas/php-cs phpcbf --help
docker run --rm -v ${PWD}:/app -t mdouglas/php-cs phpcs --standard=PSR12 .
docker run --rm -v ${PWD}:/app -t mdouglas/php-cs phpcbf --standard=PSR12 .
docker pull mdouglas/php-cs:latest