[PHPStan] Only run custom PHPStan extensions if environment vairable PHPSTAN_BOOT_KERNEL is defined (since it requires having the whole social setup available)

This commit is contained in:
2021-09-13 13:52:44 +01:00
parent a21b0afb70
commit 1adde913c6
6 changed files with 30 additions and 12 deletions

View File

@@ -2,6 +2,11 @@ parameters:
level: 3
bootstrapFiles:
- config/bootstrap.php
paths:
- src
- tests
- components
- plugins
earlyTerminatingMethodCalls:
App\Core\Log:
- unexpected_exception