Docker image for PHP_CodeSniffer's phpcs.
100K+
Dockerfile linksPHP_CodeSniffer's phpcs is a script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard.
Basic usage.
docker run --rm \
--volume /local/path:/project \
herloct/phpcs [<options>]
For example, to check src directory against the PSR1 and PSR2 coding standard.
docker run --rm \
--volume /local/path:/project \
herloct/phpcs --standard=PSR1,PSR2 src
Content type
Image
Digest
Size
26.1 MB
Last updated
almost 8 years ago
docker pull herloct/phpcs