Automatic PHP 7 Compatibility Checking Using php7cc
summary
Two static checkers run and disagree: php7cc and PHPCompatibility (PHP_CodeSniffer) run via composer against real repos, show different unique errors and warnings, and do not auto-fix. On a 2,364‑file codebase php7cc takes ~276s and PHPCompatibility ~271s; Zend Framework snapshot reports ~330 compatibility items while Slim shows zero and Symfony only a few. The tools point to concrete failures (reserved class names, PHP4 constructors, removed extensions, bitwise shifts) with filenames and line numbers so fixes are actionable.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:18Crimping Tool for Pex Piping
- 2:43Compatibility Checker
- 3:57Why Are these Tools Important
- 6:49Why Would We Want To Upgrade to Php
- 9:03Scalar Type Declarations
- 9:39Reserved Class Names
- 10:41Top 3 Offenders List
- 11:42Static Calls to Non Static Methods
- 15:48Live Demo
- 17:03Install It Composer
- 20:02Output Format
- 21:21Php Compatibility
- 23:38Sniff for Php Code Sniffer








