1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added inital phpstan/larastan setup

This commit is contained in:
Dan Brown
2021-11-05 16:18:06 +00:00
parent d0aa10a8c3
commit bc291bee78
20 changed files with 1086 additions and 124 deletions

23
phpstan.neon.dist Normal file
View File

@ -0,0 +1,23 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
# The level 8 is the highest level
level: 1
phpVersion: 70300
bootstrapFiles:
- bootstrap/phpstan.php
ignoreErrors:
# - '#Unsafe usage of new static#'
excludePaths:
- ./Config/**/*.php
checkMissingIterableValueType: false