Psalm - a static analysis tool for PHP
Psalm is a free & open-source static analysis tool that helps you identify problems in your code, so you can sleep a little better