Artwork

Innehåll tillhandahållet av Joel Clermont and Aaron Saray. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Joel Clermont and Aaron Saray eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.
Player FM - Podcast-app
Gå offline med appen Player FM !

A balanced approach to static analysis in Laravel apps

11:59
 
Dela
 

Manage episode 445239380 series 2974897
Innehåll tillhandahållet av Joel Clermont and Aaron Saray. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Joel Clermont and Aaron Saray eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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!
  continue reading

111 episoder

Artwork
iconDela
 
Manage episode 445239380 series 2974897
Innehåll tillhandahållet av Joel Clermont and Aaron Saray. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Joel Clermont and Aaron Saray eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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!
  continue reading

111 episoder

Alla avsnitt

×
 
Loading …

Välkommen till Player FM

Player FM scannar webben för högkvalitativa podcasts för dig att njuta av nu direkt. Den är den bästa podcast-appen och den fungerar med Android, Iphone och webben. Bli medlem för att synka prenumerationer mellan enheter.

 

Snabbguide