Source image https://github.com/jakzal/phpqa
The image contains https://github.com/PHPCompatibility/PHPCompatibility set of sniffs for https://github.com/squizlabs/PHP_CodeSniffer
make help
make build-alpine
alias phpqa='docker run --init -it --rm -v "$(pwd):/project" -w /project tybetx/phpqa-phpcs-phpcompatibility:alpine'
phpqa phpcs --standard=PHPCompatibility --runtime-set testVersion 8.1 .