DEV Community

Discussion on: PHPStan

Collapse
 
bosepchuk profile image
Blaine Osepchuk

We're in almost the exact same situation in my workplace.

We use the built-in inspections provided by PhpStorm, plus the extended inspections plugin, plus phpmd, plus phpcs. All of these inspections run automatically and continuously in PhpStorm. And that's how we work day-to-day.

But we do use PhpStan for special circumstances (like when we upgraded our code from PHP 5.6).

If you're just getting started and already use or can adopt PhpStorm, I'd get all those other inspections running first. They will change your life.

Collapse
 
biros profile image
Boris Jamot ✊ /

I don't know if you saw it, but you may be interested by a series of articles about code quality in PHP that I wrote recently :

Collapse
 
mario_tilli profile image
Mario Tilli

Thank you all for your suggestions!