install
This commit is contained in:
23
phpstan.neon
Normal file
23
phpstan.neon
Normal file
@@ -0,0 +1,23 @@
|
||||
includes:
|
||||
- vendor/larastan/larastan/extension.neon
|
||||
- vendor/nesbot/carbon/extension.neon
|
||||
|
||||
parameters:
|
||||
paths:
|
||||
- app/
|
||||
scanFiles:
|
||||
- app/Modules/UserAdjustments/Traits/UserAdjustments.php
|
||||
|
||||
# Level 10 is the highest level
|
||||
level: 9
|
||||
|
||||
ignoreErrors:
|
||||
- '#Unsafe usage of new static#'
|
||||
- '#Static method Illuminate\\Log\\Logger::info\(\) invoked with 3 parameters, 1-2 required#'
|
||||
- "#and 'hasTooManyLoginAtte…' will always evaluate to true#"
|
||||
- '#BelongsToMany does not specify its types: TRelatedModel, TDeclaringModel, TPivotModel, TAccessor#'
|
||||
- '#translatableTabs#'
|
||||
#
|
||||
# excludePaths:
|
||||
# - ./*/*/FileToBeExcluded.php
|
||||
|
||||
Reference in New Issue
Block a user