This free and open-source plugin (GitHub) is a code reviewand static code analysis tool for PHP that uses deterministic pattern recognition, data type analysis, and workflow evaluation.
It covers:
- architecture related issues
- weak types control and possible code construct simplifications
- performance issues
- non-optimal, duplicate and suspicious "if" conditions
- validation of magic methods usage
- regular expressions
- compatibility issues
- variety of time-consuming bugs
- PHPUnit API usage
- security issues
The enhanced commercial version, Php Inspections (EA Ultimate), provides additional and improved inspections.If you find the free version valuable, sharing a plugin review or upgrading to the commercial version helps support ongoing plugin development.
For Mac shortcuts, see this reference card. Windows/Linux ones are:
Alt + Shift + I to inspect current file with current profile
Ctrl + Alt + Shift + I to run inspection by name
Ctrl + Shift + F4 to close results of inspection.
A big thank you to our supporters: Pixel & Tonic (Bend, USA).