Add phpstan
This commit is contained in:
parent
aa3b788e1b
commit
d9e336dc16
|
@ -25,6 +25,7 @@
|
||||||
"laravel/telescope": "^4.0",
|
"laravel/telescope": "^4.0",
|
||||||
"laravel/tinker": "^2.0",
|
"laravel/tinker": "^2.0",
|
||||||
"laravel/ui": "^3.0",
|
"laravel/ui": "^3.0",
|
||||||
|
"nunomaduro/larastan": "^0.7.12",
|
||||||
"predis/predis": "^1.1",
|
"predis/predis": "^1.1",
|
||||||
"spatie/laravel-medialibrary": "^7.19",
|
"spatie/laravel-medialibrary": "^7.19",
|
||||||
"zoomyboy/laravel-nami": "dev-master"
|
"zoomyboy/laravel-nami": "dev-master"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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#'
|
Loading…
Reference in New Issue