PHP Testing Tools
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
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.