-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon.dist
40 lines (32 loc) · 1.25 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- app/
- bootstrap/
- config/
- database/
- routes/
# Level 9 is the highest level
level: 5
ignoreErrors:
- '#PHPDoc tag @var#'
-
message: '#Parameter \#1 \$state of method Illuminate\\Database\\Eloquent\\Factories\\Factory<App\\Models\\Team>::state\(\) expects array<string, mixed>|(callable(array<string, mixed>, Illuminate\\Database\\Eloquent\\Model|null): array<string, mixed>), Closure(array, App\\Models\\User): array{name: non-falsy-string, user_id: int, personal_team: true} given#'
path: database/factories/UserFactory.php
-
message: '#Undefined variable: \$this#'
path: routes/console.php
-
message: '#Call to an undefined method Illuminate\\Routing\\Route::name\(\)#'
path: routes/web.php
excludePaths:
- ./*/*/FileToBeExcluded.php
- app/Filament/Resources/Shield/RoleResource.php
- database/seeders/ShieldSeeder.php
- .phpstorm.meta.php
- _ide_helper.php
scanFiles:
- _ide_helper_models.php
checkMissingIterableValueType: true
reportUnmatchedIgnoredErrors: false