docker pull luisgros/phptools
docker run -v $(pwd):/src luisgros/phptools phpcs /path/to/php/file(s) --standard=psr2
docker run -v $(pwd):/src luisgros/phptools phpmd /path/to/files
docker run -v $(pwd):/src luisgros/phptools phploc /dir
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations.
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
phpcpd is a Copy/Paste Detector (CPD) for PHP code.
phploc is a tool for quickly measuring the size and analyzing the structure of a PHP project.
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Content type
Image
Digest
Size
405.3 MB
Last updated
over 8 years ago
docker pull luisgros/phptools