-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
41 lines (34 loc) · 1.09 KB
/
phpstan.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
parameters:
level: 8
paths:
- app
- database/factories
- database/seeders
- routes
- tests
ignoreErrors:
-
message: '#^Undefined variable: \$this$#'
paths:
- routes/console.php
- tests/*
-
message: '#^Call to an undefined method Pest\\PendingCalls\\TestCall::.*\(\).#'
paths:
- tests/*
-
message: '#^Call to an undefined method Pest\\Expectation<Illuminate\\Testing\\TestResponse\|null>::.*\(\).#'
paths:
- tests/*
-
message: '#^Access to an undefined property App\\Http\\Resources\\.*::\$.*.#'
paths:
- app/Http/Resources*
-
message: '#^Cannot call method toDateString\(\) on string.#'
paths:
- app/Http/Resources*
-
message: '#Parameter \#2 \$callback of method Illuminate\\Database\\Eloquent\\Relations\\HasMany<.*>::when\(\) expects \(callable\(Illuminate\\Database\\Eloquent\\Relations\\HasMany<.*>, bool\): .*\)\|null, Closure\(.*\): .* given\.#'
paths:
- app/*