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/'