Files
eatvio-infra/phpstan.neon.dist
Anatoliy Poloz 92a54106ef analysators added
2023-12-18 14:36:32 +03:00

28 lines
914 B
Plaintext

includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- app
- database
- config
- resources
- routes
- tests
# The level 8 is the highest level
level: 6
excludePaths:
- vendor/*
- app/Http/Controllers/Auth/*
ignoreErrors:
- '/Parameter #1 \$value of function collect expects/'
- '/PHPDoc type array of property App\\Models\\User::\$hidden is not covariant with PHPDoc type/'
- '/PHPDoc type array of property App\\Models\\User::\$casts is not covariant with PHPDoc type/'
- '/Unable to resolve the template type TKey in call to function collect/'
- '/Unable to resolve the template type TValue in call to function collect/'
- '/is not covariant with PHPDoc type/'