-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
27 lines (23 loc) · 760 Bytes
/
phpstan.neon
File metadata and controls
27 lines (23 loc) · 760 Bytes
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
parameters:
paths:
- src
- tests
level: max
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: true
ignoreErrors:
-
message: '#^Undefined variable: \$this$#'
path: tests/*
-
message: '#^Call to an undefined method Pest\\Expectation<([a-zA-Z|\\\\]+)>\:\:[a-zA-Z]+\(\)\.$#'
path: tests/*
-
message: "#^Call to an undefined method Pest\\\\PendingCalls\\\\TestCall\\:\\:expect\\(\\)\\.$#"
path: tests/*
-
message: "#^Access to an undefined property PHPUnit\\\\Framework\\\\TestCase\\:\\:\\$#"
path: tests/*
-
identifier: method.nonObject
path: tests/*