generated from tenantcloud/php-package-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
40 lines (37 loc) · 1.03 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
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/nunomaduro/larastan/extension.neon
parameters:
level: 6
tmpDir: ./tmp/phpstan
paths:
- src
- tests
ignoreErrors:
-
message: '#Method Tests\\.*Test::.* (has parameter|return type) .* (does not specify its type|no value type specified).*#i'
path: '*Test.php'
-
message: '#.* does not specify its types.*#i'
path: '*Mixin.php'
-
message: '#.* is not subtype .*#i'
path: '*Mixin.php'
-
message: '#Call to protected method .+#i'
path: '*Mixin.php'
-
message: '#Access to .* property .+Mixin.*::.+#i'
path: '*Mixin.php'
-
message: '#Method .+Mixin::.+ invoked with \d parameters, \d required.#i'
path: '*Mixin.php'
-
message: '#Parameter .* expects .*Mixin.* given#i'
path: '*Mixin.php'
-
message: '#.* should return .* but returns .*Mixin.*#i'
path: '*Mixin.php'