Skip to content

final-gene/docker-hub-phpcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP CodeSniffer Tools

Docker build and publish

This is an image to run the PHP CodeSniffer Tools.

How to use this image

Run the phpcs image:

docker run \
    --rm \
    --volume "$(pwd)":/app \
    finalgene/phpcs

Run the phpcbf command in the phpcs image:

docker run \
    --rm \
    --volume "$(pwd)":/app \
    finalgene/phpcs phpcbf

Use the PHP Coding Standard Generator to create a configuration file for your project.

Quick reference