PHP_CodeSniffer is a script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard.
docker run --volume </local/path>:/project hlacos/phpcs[:tag] [<options>]
Example:
docker run --volume /project/path:/project hlacos/phpcs phpcs --standard=PSR1,PSR2 /project
Content type
Image
Digest
Size
126.4 MB
Last updated
over 7 years ago
docker pull hlacos/phpcs