Public | Automated Build

Last pushed: a month ago
Short Description
PHP_CodeSniffer based on Alpine.
Full Description

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


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

Docker Pull Command
Source Repository