finalgene/phpcs

By finalgene

Updated over 1 year ago

PHPCS for CI

Image
Languages & Frameworks
Integration & Delivery

2.5K

PHP CodeSniffer Tools

CircleCICodacy Badge

This is a 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

Docker Pull Command

docker pull finalgene/phpcs