In this video, Scott discusses how to use PHPStan to find bugs. He covers why you should use PHPStan, how to install PHPStan, how to configure PHPStan, how to pick a level, and generate a baseline.
Links:
Composer - • Getting Out of PHP Dep... @ 3:07
GitHub Actions - • Automating Our Tests W... @ 7:07
00:00 Intro
01:07 What is PHPStan?
02:10 Why Use PHPStan?
03:02 Installing
03:23 Running
03:49 Levels
04:29 PHPStorm
05:17 Fixing Our Errors
06:08 Configuration Files
05:56 When to Run PHPStan
07:32 What You Need to Know
07:47 Outro
php[architect] is an industry-leading publication focused on the PHP language. We are for developers written by developers. Publishing great PHP content since 2002 and dedicated to providing educational material to the PHP programming community.
Subscribe today at phpa.me/signup
Twitter: @phparch
Mastodon: @editor@phparch.social
Facebook: phpa.me/facebook
LinkedIn: phpa.me/linkedin
Негізгі бет Fixing Bugs With PHPStan
Пікірлер: 4