Matt Brown, a developer at Vimeo, recently wrote a piece about improving WordPress with static analysis. Matt reminds us that most developers would agree that WordPress has been very conservative about the PHP versions it supports, but “there’s no reason it can’t benefit from the same tools that newly-developed PHP apps use.”
To that end, Matt introduces a type checker he built called Psalm to run against the WordPress codebase. Matt hopes that WordPress — and the PHP community as a whole — can benefit from more modern development patterns.