Courses

Larastan: Catch Bugs with Static Analysis

Don't Get Scared by Errors

You're reading a FREE PREVIEW of a PREMIUM course.

Let's look at a scenario where you have an older project that's already running pretty well and you just installed Larastan and ran the ./vendor/bin/phpstan analyse command for the first time:

[ERROR] Found 1289 errors

That's a lot of errors!

The first thought that comes to your mind after scrolling the list is - "It will take AGES to fix all of them! Not worth it, I don't have time for this!". But fear not, Larastan comes with a nice feature called Baseline generation which will help you with this. Let's see how it works...

The full lesson is only for Premium Members.
Want to access all 8 text lessons of this course? (30 min read)

You also get:

  • 77 courses
  • Premium tutorials
  • Access to repositories
  • Private Discord