Skip to content

Thomthomars/docker-php-quality-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Docker PHP Quality tools

This image contains some tools to checks the PHP code quality

Tools in this image

Usage example

phpcs

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpcs [options]

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpcs --help

Visit https://github.com/squizlabs/PHP_CodeSniffer for all phpcs usage.

phpmd

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpmd [options]

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpmd --help

Visit https://phpmd.org/ for all phpmd usage.

phpcpd

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpcpd [options]

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools phpcpd --help

Visit https://github.com/sebastianbergmann/phpcpd for all phpcpd usage.

security-checker

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools security-checker security:check <path-to-composer.lock>

$ docker run --rm -v $PWD:/code:ro niji/php-quality-tools security-checker help security:check

Visit https://github.com/sensiolabs/security-checker for all security-checker usage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%