<p><a href="/daily/2023/11/28/which-phpstan-level-should-you-use">Yesterday's email</a> introduced the different levels that PHPStan offers and which you may want to use on your codebase.</p>
<p>In the same way as having a single test is better than none, even if you run PHPStan at the lowest level, it's better than not running it at all.</p>
<p>Level 0 includes:</p>
<blockquote>
<p>Basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables</p>
</blockquote>
<p>P.S. If you want to utilise PHPStan and static analysis on your development team and get fewer bugs, I have <a href="/team-coaching">availability for team coaching</a>. I'll show you how!</p>
<p><a href="/daily/2023/11/28/which-phpstan-level-should-you-use">Yesterday's email</a> introduced the different levels that PHPStan offers and which you may want to use on your codebase.</p>
<p>In the same way as having a single test is better than none, even if you run PHPStan at the lowest level, it's better than not running it at all.</p>
<p>Level 0 includes:</p>
<blockquote>
<p>Basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables</p>
<p>P.S. If you want to utilise PHPStan and static analysis on your development team and get fewer bugs, I have <a href="/team-coaching">availability for team coaching</a>. I'll show you how!</p>