Skip to main content

Don't Get Scared by Errors

Premium
5 min read

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 of our courses? (31 h 16 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

No comments yet…