Commit

9ed0179

phpstan has literally changed my life these last few weeks. Here’s an example. I prefer to use named arguments, but sometimes forget. So I had Claude write a custom phpstan rule to enforce it Old Pete: hey Claude, please scan my project and look for instances where I didn’t use named args. Then add the named args. Make no mistakes New Pete: run composer stan and fix named arguments errors.

commit 9ed0179

Saves a tonne on tokens for the larger project, and is now an enforceable pattern for our team (if they like it 😬)