mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-01 02:45:32 +08:00
5116d83d38
PHPStan config not yet compatible, but should work after moving to Laravel 11, which would allow using larastan 3.x.
26 lines
507 B
Plaintext
26 lines
507 B
Plaintext
includes:
|
|
- ./vendor/larastan/larastan/extension.neon
|
|
|
|
parameters:
|
|
|
|
paths:
|
|
- app
|
|
|
|
# The level 8 is the highest level
|
|
level: 1
|
|
|
|
phpVersion:
|
|
min: 80200
|
|
max: 80400
|
|
|
|
bootstrapFiles:
|
|
- bootstrap/phpstan.php
|
|
|
|
ignoreErrors:
|
|
# - '#PHPDoc tag @throws with type .*?Psr\\SimpleCache\\InvalidArgumentException.*? is not subtype of Throwable#'
|
|
|
|
excludePaths:
|
|
- ./Config/**/*.php
|
|
- ./dev/**/*.php
|
|
|
|
checkMissingIterableValueType: false |