Hello,
I'd like to propose
php7cc package to the PHP League. php7cc is a basic CLI static analysis tool that helps detect backward incompatible changes mentioned in the
PHP 7.0 upgrade notes. The package is documented and adheres to most of the League's quality guidelines (test coverage is ~70%, but all the essential methods are covered).
Comparison with similar tools:
-
php7mar: It is faster, but has fewer diagnostics. It is based on regexps, which makes detecting some issues very hard or impossible.
-
phan: This is a general purpose static analyzer that is much more sophisticated and feature-rich. But its backward compatibility check mode is missing some important features, like detecting added/removed functions and classes.
Thanks,
Alex