-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.dist.neon
47 lines (42 loc) · 1.83 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
40
41
42
43
44
45
46
47
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
- # Works despite error, may break if strict types enforced
message: '#Property App\\Models\\Page::\$blocks is not writable\.#'
path: app/Http/Resources/Views/Public/Content/HomepageContentResource.php
count: 1
- # Works despite error, may break if strict types enforced
message: '#Property App\\Models\\Page::\$blocks is not writable\.#'
path: app/Http/Resources/Views/Public/Content/PrivacyPolicyContentResource.php
count: 1
- # 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