SR
Steven Richardson
About Articles. Skills Tools
Articles › phpstan
TAG ARCHIVE

Everything on phpstan.

3 articles tagged phpstan, sorted newest first.

phpstan June 10th, 2026

Adopt a PHPStan Baseline on a Legacy Laravel App (and Burn It Down)

A first PHPStan run on an old Laravel app reports thousands of errors. Here's how to baseline that debt, hold new code to the full ruleset, and reduce it deliberately.

7 min read →
pest June 3rd, 2026

PestStan — Type-Safe Pest 4 Tests With PHPStan Generics in a Laravel App

PestStan teaches PHPStan about Pest's globals — generic expect() types, proper $this binding, and rules that catch broken assertions before the test even runs.

9 min read →
laravel April 20th, 2026

PHPStan Level 10 in Laravel: Fix the 5 Most Common Errors

Bumped Larastan to level 10 and got 300 new errors? Here are the five patterns you'll see again and again: and the exact fix for each.

6 min read →
← Back to all articles
SR
Steven Richardson

CTO at Digitonic. Writing notes on Laravel, architecture, and the craft of leading software teams — from the west coast of Scotland.

Site

Home About Articles Skills Tools

Elsewhere

GitHub LinkedIn X RSS
© 2026 Steven Richardson
Terms Privacy Built with Laravel + Tailwind