-
Notifications
You must be signed in to change notification settings - Fork 94
/
phpstan-baseline.neon
91 lines (77 loc) · 3.84 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
parameters:
ignoreErrors:
-
message: '#^Instanceof between TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface and TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Core/Parser/SyntaxTree/RootNode.php
-
message: '#^Binary operation "\+" between non\-empty\-string and 0 results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Core/Parser/TemplateParser.php
-
message: '#^Call to an undefined method TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface\:\:getUninitializedViewHelper\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Core/Parser/TemplateParser.php
-
message: '#^Method TYPO3Fluid\\Fluid\\Core\\Parser\\TemplateParser\:\:initializeViewHelperAndAddItToStack\(\) should return TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\ViewHelperNode\|null but returns TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface\.$#'
identifier: return.type
count: 1
path: src/Core/Parser/TemplateParser.php
-
message: '#^Strict comparison using \!\=\= between string and null will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: src/Core/Variables/JSONVariableProvider.php
-
message: '#^Instanceof between TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface and TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Core/ViewHelper/AbstractConditionViewHelper.php
-
message: '#^Instanceof between TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\ViewHelperNode and TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\ViewHelperNode will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 2
path: src/Core/ViewHelper/AbstractConditionViewHelper.php
-
message: '#^Call to TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:handleAdditionalArguments\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 1
path: src/Core/ViewHelper/AbstractTagBasedViewHelper.php
-
message: '#^Call to TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:initialize\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 1
path: src/Core/ViewHelper/AbstractTagBasedViewHelper.php
-
message: '#^Instanceof between TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface and TYPO3Fluid\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Core/ViewHelper/AbstractViewHelper.php
-
message: '#^Method TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:handleAdditionalArguments\(\) has TYPO3Fluid\\Fluid\\Core\\ViewHelper\\Exception in PHPDoc @throws tag but it''s not thrown\.$#'
identifier: throws.unusedType
count: 1
path: src/Core/ViewHelper/AbstractViewHelper.php
-
message: '#^Parameter \#1 \$array of function array_unique expects an array of values castable to string, array\<array\<string\>\|string\> given\.$#'
identifier: argument.type
count: 2
path: src/View/TemplatePaths.php
-
message: '#^Variable \$iterationData might not be defined\.$#'
identifier: variable.undefined
count: 1
path: src/ViewHelpers/ForViewHelper.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: tests/Functional/ViewHelpers/StaticCacheable/NotSharedStaticCompilableViewHelperTest.php
-
message: '#^Call to TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:handleAdditionalArguments\(\) on a separate line has no effect\.$#'
identifier: staticMethod.resultUnused
count: 1
path: tests/Unit/Core/Fixtures/TestViewHelper.php