Add phpstan

This commit is contained in:
philipp lang 2021-11-17 00:19:55 +01:00
parent aa3b788e1b
commit d9e336dc16
3 changed files with 2234 additions and 679 deletions

View File

@ -25,6 +25,7 @@
"laravel/telescope": "^4.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"nunomaduro/larastan": "^0.7.12",
"predis/predis": "^1.1",
"spatie/laravel-medialibrary": "^7.19",
"zoomyboy/laravel-nami": "dev-master"

2899
composer.lock generated

File diff suppressed because it is too large Load Diff

13
phpstan.neon Normal file
View File

@ -0,0 +1,13 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
# The level 8 is the highest level
level: 6
ignoreErrors:
- '#Unsafe usage of new static#'