texthtml/phpcs

By texthtml

Updated about 10 hours ago

Docker image for PHP_CodeSniffer

Image
6

100K+

texthtml/phpcs repository overview

PHPCS

This is a docker image for PHP_CodeSniffer

Usage

Detect code standard violations

docker run -v /path/to/php/files/:/scripts/ texthtml/phpcs phpcs --standard=PSR2 /scripts/

and fix them

docker run -v /path/to/php/files/:/scripts/ texthtml/phpcs phpcbf --standard=PSR2 /scripts/

Tag summary

Content type

Image

Digest

sha256:75736f176

Size

42.8 MB

Last updated

about 10 hours ago

docker pull texthtml/phpcs:sha-8a535c6