-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.dist.neon
39 lines (34 loc) · 1.33 KB
/
phpstan.dist.neon
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
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
paths:
- app/
- bootstrap/
- config/
- database/
- routes/
- tests/
# Level 9 is the highest level
level: 8
excludePaths:
- tests/Pest/Functions/CompositeTests # 5 errors 2024-03-29, whole directory needs refactoring
ignoreErrors:
- # Replaces `checkGenericClassInNonGenericObjectType: false`
identifier: missingType.generics
- # From the way the methods are inherited by Pest
message: '#Access to an undefined property Pest\\Mixins\\Expectation#'
path: tests
- # From the way the methods are inherited by Pest
message: '#Call to an undefined method Pest\\#'
path: tests
- # To be fixed by adopting Pest syntax
message: '#Undefined variable: \$this#'
path: tests
- # From the way the methods are inherited by the Browser object
message: '#Call to an undefined method Laravel\\Dusk\\Browser::#'
path: tests/Browser
count: 23
- # From the way the methods are inherited by Pest
message: '#Function testNotifiedUpdate#'
path: tests/Feature/Http/Controllers/Auth/PasswordForgottenControllerTest.php
count: 5