chore: Add phpstan and phpinsights

This commit is contained in:
2021-04-28 13:40:38 -03:00
parent aa55e10e69
commit 0c92958fe2
5 changed files with 2158 additions and 1 deletions

17
phpstan.neon Normal file
View File

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