phpcs docker image with PHPCompatibility toolkit
8.7K
docker login
docker build -t domw/phpcompatibility:latest ./
docker push domw/phpcompatibility:latest
docker build -t domw/phpcompatibility:7.1-cli ./
docker push domw/phpcompatibility:7.1-cli
docker-compose run --rm phpcs phpcs
docker-compose run --rm phpcs phpcs -i
docker pull domw/phpcompatibility
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs --version
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs -i
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs --standard=PHPCompatibility --runtime-set testVersion 5.6 /path/to/code
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs --standard=PHPCompatibility --runtime-set testVersion 5.5-5.6 --report=full,summary,gitblame /path/to/code
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs --standard=PHPCompatibility --runtime-set testVersion 7.0 --colors --warning-severity=0 --report=full,summary,gitblame /path/to/code
docker run --rm -v $PWD:/code domw/phpcompatibility phpcs --standard=PHPCompatibility --runtime-set testVersion 7.0 --colors --warning-severity=0 --report=full,summary --extensions=php,phtml /path/to/code
Content type
Image
Digest
sha256:77cfe6ad1…
Size
183.1 MB
Last updated
over 2 years ago
docker pull domw/phpcompatibility