wernight/phpcs

By wernight

Updated over 6 years ago

PHP_CodeSniffer based on Alpine.

Image
Developer Tools

5.5K

Supported tags and respective Dockerfile links

What is PHP_CodeSniffer

PHP_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.

Usage example

$ docker run --rm -v $PWD:/code:ro wernight/phpcs phpcs /code

Feedbacks

Improvement ideas and pull requests are welcome via Github Issue Tracker.

Docker Pull Command

docker pull wernight/phpcs