-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphpstan-baseline-14.neon
More file actions
79 lines (67 loc) · 3.23 KB
/
Copy pathphpstan-baseline-14.neon
File metadata and controls
79 lines (67 loc) · 3.23 KB
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
parameters:
ignoreErrors:
-
message: '#^Class TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend does not have a constructor and must be instantiated without any parameters\.$#'
identifier: new.noConstructor
count: 1
path: Build/phpunit/UnitTestsBootstrap.php
-
message: '#^Cannot call method getRequestUri\(\) on TYPO3\\CMS\\Core\\Http\\NormalizedParams\|null\.$#'
identifier: method.nonObject
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:\$moduleData \(TYPO3\\CMS\\Backend\\Module\\ModuleData\) does not accept TYPO3\\CMS\\Backend\\Module\\ModuleData\|null\.$#'
identifier: assign.propertyType
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:\$policyRegistry is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:\$selectedLanguages \(list\<TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage\>\) does not accept array\<int\<0, max\>, TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage\>\.$#'
identifier: assign.propertyType
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method PhpParser\\Node\\Expr\|PhpParser\\Node\\Identifier\:\:toString\(\)\.$#'
identifier: method.notFound
count: 4
path: Classes/PhpStanRule/NamedArgumentUsageRule.php
-
message: '#^Method TYPO3\\CMS\\VisualEditor\\Service\\DataHandlerService\:\:run\(\) should return list\<string\> but returns array\.$#'
identifier: return.type
count: 1
path: Classes/Service/DataHandlerService.php
-
message: '#^Cannot access offset ''allowed\.'' on TYPO3\\CMS\\Core\\Page\\ContentArea\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Cannot access offset ''colPos'' on TYPO3\\CMS\\Core\\Page\\ContentArea\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Cannot access offset ''disallowed\.'' on TYPO3\\CMS\\Core\\Page\\ContentArea\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Cannot access offset ''name'' on TYPO3\\CMS\\Core\\Page\\ContentArea\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Instanceof between TYPO3\\CMS\\Core\\Page\\ContentArea and TYPO3\\CMS\\Core\\Page\\ContentAreaClosure will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\ViewHelpers\\Render\\TextViewHelper\:\:\$typo3Version on left side of \?\? is not nullable nor uninitialized\.$#'
identifier: nullCoalesce.initializedProperty
count: 1
path: Classes/ViewHelpers/Render/TextViewHelper.php