Fixing Bugs With PHPStan

Опубликовано: 16 Июнь 2026
на канале: PHP Architect
1,924
65

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 Dependency Hell With Co...   @ 3:07
GitHub Actions -    • Automating Our Tests With GitHub Actions   @ 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 https://phpa.me/signup
Twitter: @phparch
Mastodon: @[email protected]
Facebook: https://phpa.me/facebook
LinkedIn: https://phpa.me/linkedin