-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpstan-baseline.neon
52 lines (42 loc) · 1.61 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
parameters:
ignoreErrors:
-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 4
path: Classes/Asset/TagRenderer.php
-
message: "#^Only booleans are allowed in a negated boolean, \\(int\\|string\\) given\\.$#"
count: 2
path: Classes/Asset/TagRenderer.php
-
message: "#^Variable method call on TYPO3\\\\CMS\\\\Core\\\\Page\\\\PageRenderer\\.$#"
count: 2
path: Classes/Asset/TagRenderer.php
-
message: "#^Call to function is_array\\(\\) with array will always evaluate to true\\.$#"
count: 1
path: Classes/Form/FormDataProvider/RichtextEncoreConfiguration.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: Classes/Form/FormDataProvider/RichtextEncoreConfiguration.php
-
message: "#^Strict comparison using \\!\\=\\= between '1' and '' will always evaluate to true\\.$#"
count: 1
path: Classes/Middleware/AssetsMiddleware.php
-
message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
count: 6
path: Classes/ViewHelpers/SvgViewHelper.php
-
message: "#^Only booleans are allowed in \\|\\|, mixed given on the left side\\.$#"
count: 1
path: Classes/ViewHelpers/SvgViewHelper.php
-
message: "#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#"
count: 1
path: Classes/ViewHelpers/SvgViewHelper.php
-
message: "#^Variable method call on Prophecy\\\\Prophecy\\\\ObjectProphecy\\<TYPO3\\\\CMS\\\\Core\\\\Page\\\\PageRenderer\\>\\.$#"
count: 1
path: Tests/Unit/Asset/TagRendererTest.php