11:11
Working at Pinkary changed my coding habits:
I now write code without constantly checking Pint, Rector, PHPStan (Level 9), type coverage, or tests with code coverage. 🤞
Yet, 90% of the time, everything passes flawlessly on the first try. 🤌
Back
Documentation is the best place to learn this.
also it's nothing different, you only need to configure it initially, then start analyzing it. phpstan will show you errors according to rule level., then you need to fix those type hinting issues in your code.
•
Any good resource on learning phpstan for Laravel? Seems like there’s nothing out there.
•
phpstan.org/user-guide/getting-started
Documentation is the best place to learn this.
also it's nothing different, you only need to configure it initially, then start analyzing it. phpstan will show you errors according to rule level., then you need to fix those type hinting issues in your code.
•
To add to this, use the larastan/larastan package to help it understand Laravel better.
•