Public Repository

Last pushed: 2 years ago
Short Description
Docker for PHP QA Tools
Full Description

PHPLoc

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools phploc --log-csv=<file-path> <source-path>

PHPDepend

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools pdepend --summary-xml=<file-path> --jdepend-chart=<file-path> --overview-pyramid=<file-path> <source-path>

PHP Mess Detector

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools phpmd <source-file> xml --report-file=<file-path> cleancode,codesize,controversial,design,naming,unusedcode

PHP Code Sniffer

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools phpcs --standard=PSR1,PSR2 --report=xml --report-file=<file-path> <source-file>

PHP Copy/Paste Detector

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools phpcpd <source-file>

PhpMetrics

$ docker run --rm -i -v $(pwd):/var/www php-qa-tools phpmetrics --report-file=<file-path> <source-file>
Docker Pull Command
Owner
ilumin

Comments (0)