Skip to content

texthtml/docker-phpcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2bf9087 · Jul 14, 2016

History

7 Commits
Jul 14, 2016
Oct 15, 2015
Oct 15, 2015

Repository files navigation

PHPCS

This 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/