Added larastan

This commit is contained in:
Henry Whitaker
2020-08-03 16:21:47 +01:00
parent 33bbe14100
commit 4b8b4ccfa3
3 changed files with 742 additions and 102 deletions

18
phpstan.neon Normal file
View File

@@ -0,0 +1,18 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
# The level 8 is the highest level
level: 5
ignoreErrors:
- '#Unsafe usage of new static#'
excludes_analyse:
- ./*/*/FileToBeExcluded.php
checkMissingIterableValueType: false