forked from GNUsocial/gnu-social
[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:
@@ -2,6 +2,11 @@ parameters:
|
||||
level: 3
|
||||
bootstrapFiles:
|
||||
- config/bootstrap.php
|
||||
paths:
|
||||
- src
|
||||
- tests
|
||||
- components
|
||||
- plugins
|
||||
earlyTerminatingMethodCalls:
|
||||
App\Core\Log:
|
||||
- unexpected_exception
|
||||
|
||||
Reference in New Issue
Block a user