Docker image for PHP Coding Standards Fixer.
10K+
Dockerfile linksThe PHP Coding Standards Fixer tool fixes most issues in your code when you want to follow the PHP coding standards as defined in the PSR-1 and PSR-2 documents and many more.
Basic usage using current user.
docker run --rm \
--user $(id -u):$(id -g) \
--volume /local/path:/project \
herloct/php-cs-fixer[:tag] [<options>]
For example, to fix src directory to PSR1 and PSR2 standard.
docker run --rm \
--user $(id -u):$(id -g) \
--volume /local/path:/project \
herloct/php-cs-fixer fix src
/project: Your PHP project directory.Content type
Image
Digest
Size
26.2 MB
Last updated
almost 8 years ago
docker pull herloct/php-cs-fixer