PHP_CodeSniffer detects violations for a defined set of coding standards
1.2K
Docker container to install and run phpcs
docker pull rvannauker/phpcs
sudo docker run --rm --volume $(pwd):/workspace --name="phpcs" "rvannauker/phpcs" --config-set colors=1 --standard="PSR2" -v {destination}
To run, test and develop the PHP_CodeSniffer Dockerfile itself, you must use the source directly:
git clone https://github.com/RichVRed/docker-phpcs.git
sudo docker build --force-rm --tag "rvannauker/phpcs" --file phpcs.dockerfile .
$ docker run rvannauker/phpcs --help
Content type
Image
Digest
Size
26.1 MB
Last updated
over 9 years ago
docker pull rvannauker/phpcs