forked from FluidTYPO3/vhs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
70 lines (70 loc) · 3.28 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
parameters:
ignoreErrors:
-
message: "#Right side of \\|\\| is always true\\.$#"
count: 1
path: Classes/ViewHelpers/Resource/AbstractResourceViewHelper.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: Classes/ViewHelpers/Resource/AbstractResourceViewHelper.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: Classes/ViewHelpers/Resource/AbstractImageViewHelper.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/Render/RequestViewHelper.php
-
message: "#^Parameter \\#2 \\$response of method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Dispatcher\\:\\:dispatch\\(\\) expects TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface, TYPO3\\\\CMS\\\\Core\\\\Http\\\\Response\\|TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\ResponseInterface given\\.$#"
count: 1
path: Classes/ViewHelpers/Render/RequestViewHelper.php
-
message: "#^Call to method getPageOverlay\\(\\) on an unknown class TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository\\.$#"
count: 1
path: Classes/ViewHelpers/Page/Resources/FalViewHelper.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: Classes/ViewHelpers/Page/LanguageMenuViewHelper.php
-
message: "#^Result of \\&\\& is always false\\.$#"
count: 2
path: Classes/ViewHelpers/Media/SourceViewHelper.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/Media/PdfThumbnailViewHelper.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/Media/Image/AbstractImageViewHelper.php
-
message: "#^Result of \\&\\& is always false\\.$#"
count: 1
path: Classes/ViewHelpers/Media/Image/AbstractImageViewHelper.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: Classes/ViewHelpers/Media/Image/AbstractImageViewHelper.php
-
message: "#^Result of \\&\\& is always false\\.$#"
count: 1
path: Classes/Traits/SourceSetViewHelperTrait.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: Classes/Utility/FrontendSimulationUtility.php
-
message: "#^Cannot call method getValidators\\(\\) on array\\.$#"
count: 2
path: Classes/ViewHelpers/Condition/Form/HasValidatorViewHelper.php
-
message: "#^Call to protected method init\\(\\) of class TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository\\.$#"
count: 2
path: Classes/Service/PageService.php
-
message: "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Dispatcher\\:\\:dispatch\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 2
path: Classes/ViewHelpers/Render/RequestViewHelper.php