A balanced approach to static analysis in Laravel apps

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!
No Compromises, LLC