PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before…