forked from MyIntervals/PHP-CSS-Parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
36 lines (29 loc) · 833 Bytes
/
Copy pathphpstan.neon
File metadata and controls
36 lines (29 loc) · 833 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
27
28
29
30
31
32
33
34
35
36
includes:
- phpstan-baseline.neon
parameters:
phpVersion: 70200
level: 6
paths:
- %currentWorkingDirectory%/bin/
- %currentWorkingDirectory%/src/
- %currentWorkingDirectory%/tests/
excludePaths:
- %currentWorkingDirectory%/tests/fixtures/phpstan/
type_perfect:
no_mixed_property: true
no_mixed_caller: true
null_over_false: true
narrow_param: false
narrow_return: false
ignoreErrors:
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) .* will always evaluate to#'
path: '%currentWorkingDirectory%/tests/'
-
identifier: theCodingMachineSafe.function
path: '%currentWorkingDirectory%/tests/'
services:
-
class: \Sabberworm\CSS\PhpStan\IgnoreBooleanAlways
tags:
- phpstan.ignoreErrorExtension