generated from ergebnis/php-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
62 lines (52 loc) · 2.67 KB
/
phpstan-baseline.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
parameters:
ignoreErrors:
-
message: '#^Instanceof between PhpCsFixer\\Fixer\\FixerInterface and PhpCsFixer\\Fixer\\FixerInterface will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Fixers.php
-
message: '#^Property Ergebnis\\PhpCsFixer\\Config\\Fixers\:\:\$value \(list\<PhpCsFixer\\Fixer\\FixerInterface\>\) does not accept array\<int\|string, PhpCsFixer\\Fixer\\FixerInterface\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Fixers.php
-
message: '#^Method Ergebnis\\PhpCsFixer\\Config\\Rules\:\:toArray\(\) should return array\<string, array\<string, mixed\>\|bool\> but returns array\.$#'
identifier: return.type
count: 1
path: src/Rules.php
-
message: '#^Parameter \#1 \$value of class Ergebnis\\PhpCsFixer\\Config\\Rules constructor expects array\<string, array\<string, mixed\>\|bool\>, array given\.$#'
identifier: argument.type
count: 1
path: src/Rules.php
-
message: '#^Property Ergebnis\\PhpCsFixer\\Config\\Rules\:\:\$value type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Rules.php
-
message: '#^Parameter \#1 \$iterable of static method Ergebnis\\PhpCsFixer\\Config\\Fixers\:\:fromIterable\(\) expects iterable\<PhpCsFixer\\Fixer\\FixerInterface\>, array\<int, \(PhpCsFixer\\Fixer\\FixerInterface&PHPUnit\\Framework\\MockObject\\Stub\)\|stdClass\> given\.$#'
identifier: argument.type
count: 1
path: test/Unit/FixersTest.php
-
message: '#^Method Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\AbstractRuleSetTestCase\:\:sort\(\) has parameter \$data with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: test/Unit/RuleSet/AbstractRuleSetTestCase.php
-
message: '#^Method Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\AbstractRuleSetTestCase\:\:sort\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: test/Unit/RuleSet/AbstractRuleSetTestCase.php
-
message: '#^Class "Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\CustomTest" is not allowed to extend "Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\ExplicitRuleSetTestCase"\.$#'
identifier: ergebnis.noExtends
count: 1
path: test/Unit/RuleSet/CustomTest.php
-
message: '#^Class "Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\ExplicitRuleSetTestCase" is not allowed to extend "Ergebnis\\PhpCsFixer\\Config\\Test\\Unit\\RuleSet\\AbstractRuleSetTestCase"\.$#'
identifier: ergebnis.noExtends
count: 1
path: test/Unit/RuleSet/ExplicitRuleSetTestCase.php