Bristol's free PHP meetup. Talks, pizza & pub, every second Wednesday.

← All talks

Given at PHPSW · February 2022

Code with confidence using PHPStan

With new projects starting on PHP 8 and the increasing use on data types and upgrades that PHP 8 brings, the use of static analysis has become increasingly popular. PHPStan has recently released version 1 which includes stricter checks and a pro version that offers more versatility. For new projects, the use of static analysis is a great tool to keep fresh code clean and confirmative, but how can static analysis be used on legacy projects and how can PHPstan increase our confidence when building upon our code bases?