-
Notifications
You must be signed in to change notification settings - Fork 106
/
phpstan.neon
24 lines (24 loc) · 873 Bytes
/
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
parameters:
level: 6
reportUnmatchedIgnoredErrors: false
paths:
- src
- tests
ignoreErrors:
-
message: '#Method .* has no return typehint specified#'
path: tests/
-
message: '#Method .* has parameter .* with no typehint specified#'
path: tests/
-
message: '#Method .* has parameter .* with no value type specified in iterable type array#'
path: tests/
-
message: '#Method .* return type has no value type specified in iterable type array#'
path: tests/
-
message: '#PHPDoc tag @param has invalid value \(.*\): Unexpected token ".*", expected type at offset .*#'
path: tests/
- '#Call to static method .* on trait .*#'
- '#Access to static property .* on trait .*#'