
Episode 111
A balanced approach to static analysis in Laravel apps
No Compromises · Joel Clermont and Aaron Saray
October 15, 202411m 59s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Static types and tooling have increased the quality of our apps, but sometimes certain features in your Laravel app don't play nicely with static analysis.
In today's episode, we talk about how we approach the tradeoffs around making a tool happy without changing how you write code.
- (00:00) - Our approach to static analysis in a Laravel app
- (01:30) - Using PHPDoc inline
- (03:00) - When Laravel doesn't quite give you the type you want
- (05:00) - A different approach than inline types
- (06:30) - Are you just making the tool happy?
- (07:45) - An example of going too far
- (10:10) - Silly bit
Check out the newly published volumes of Laravel tips. Collect them all!
Topics
LaravelPHP