DiscoverNo CompromisesA balanced approach to static analysis in Laravel apps
A balanced approach to static analysis in Laravel apps

A balanced approach to static analysis in Laravel apps

Update: 2024-10-15
Share

Description

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!
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

A balanced approach to static analysis in Laravel apps

A balanced approach to static analysis in Laravel apps

Joel Clermont and Aaron Saray