-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan-rules.neon
37 lines (34 loc) · 1.24 KB
/
phpstan-rules.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
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/phpstan/phpstan-mockery/extension.neon
- ./phpstan-baseline.neon
parameters:
level: 9
ignoreErrors:
# App Ignores
-
message: '#.*? expects string, mixed given.#'
path: ../config
-
message: '#Undefined variable: \$this#'
path: ../routes/console.php
-
message: '#Cannot cast mixed to string.#'
path: ../routes/console.php
# Test ignores
-
message: '#Undefined variable: \$this#'
path: ../tests
-
message: '#Access to an undefined property Pest\\Expectation<App\\Http\\*#'
path: ../tests
-
message: '#Call to an undefined method Pest\\PendingCalls\\TestCall|Pest\\Support\\HigherOrderTapProxy::be\(\).#'
path: ../tests
-
message: '#Call to an undefined method Pest\\Expectation\<string\|null\>::toRecieveAPaginatedResponse\(\).#'
path: ../tests
-
message: '#Unable to resolve the template type TAndValue in call to method Pest\\Expectation<.+>::and\(\)#'
path: ../tests
reportUnmatchedIgnoredErrors: false