The Phan 0.12.x releases support analysis of php 7.0-7.2, and can be executed with php 7.0+.
See the file NEWS.md for what has changed in this version.
-
This release adds unused parameter and variable detection (with low false positives) to Phan.
unused variable detection is disabled by default. It can be enabled via
--unused-variable-detection
(CLI) orunused_variable_detection
(config).Some issue types (e.g.
PhanUnusedPublicMethodParameter
) will be high-volume in many projects, so they will probably need to be suppressed (at file/global level).
(due to base classes or subclasses not needing all parameters.)