Re:PHP in 2019
by francislavoie on Wednesday May 15, 2019 @02:31PM
(#19922311)
https://www.exakat.io/
https://github.com/phpstan/phpstan
Lots of great static analyzers to run in CI and during development to catch all kinds of issues.
Also, https://github.com/FriendsOfPhp/PHP-CS-Fixer to clean up code syntax (configurable rules, has good presets).
This. If there isn't a linter that bombs out on those things that used to be standard PHP, modern PHP is a non-starter. There are too many bad examples out there that will make their way into modern code if you let them.