wernight/phpcs
PHP_CodeSniffer based on Alpine.
5.5K
Dockerfile
linksPHP_CodeSniffer is a set of two PHP scripts; the main phpcs
script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf
script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.
$ docker run --rm -v $PWD:/code:ro wernight/phpcs phpcs /code
Improvement ideas and pull requests are welcome via Github Issue Tracker.
docker pull wernight/phpcs