This project contains a ruleset to be used with phpmd https://github.com/phpmd/phpmd
$ composer global require flickerleap/phpmd
$ ~/.composer/vendor/bin/phpmd path/to/src text ~/.composer/vendor/flickerleap/phpmd/ruleset.xml
- All phpmd rules
- Excluded static usage of classes due to laravels fantastic service container https://laravel.com/docs/5.6/facades
- Excluded some short variable names such as $to in a mailable
- Excluded all unused parameters due to common usage of $request in controller functions