https://mamchenkov.net/wordpress/2016/12/12/quick-and-easy-introduction-into-php-mess-detector-phpmd/
Quick and easy introduction into PHP Mess Detector (PHPMD)