forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
180 lines (146 loc) · 7.87 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
parameters:
ignoreErrors:
-
message: "#^Negated boolean expression is always false\\.$#"
count: 2
path: bundles/CoreBundle/src/DependencyInjection/PimcoreCoreExtension.php
-
message: "#^Call to method addSetting\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\IndexActionSettingsEvent\\.$#"
count: 1
path: bundles/CustomReportsBundle/src/EventListener/IndexSettingsListener.php
-
message: "#^Parameter \\$settingsEvent of method Pimcore\\\\Bundle\\\\CustomReportsBundle\\\\EventListener\\\\IndexSettingsListener\\:\\:indexSettings\\(\\) has invalid type Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\IndexActionSettingsEvent\\.$#"
count: 1
path: bundles/CustomReportsBundle/src/EventListener/IndexSettingsListener.php
-
message: "#^Call to an undefined method Pimcore\\\\Bundle\\\\SeoBundle\\\\Controller\\\\Document\\\\DocumentController\\:\\:getTreeNodeConfig\\(\\)\\.$#"
count: 1
path: bundles/SeoBundle/src/Controller/Document/DocumentController.php
-
message: "#^Access to constant CONTEXT_SEARCH on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\ElementAdminStyleEvent\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Access to constant RESOLVE_ELEMENT_ADMIN_STYLE on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\AdminEvents\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Call to method getAdminStyle\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\ElementAdminStyleEvent\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Call to method getFilterCondition\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Helper\\\\GridHelperService\\.$#"
count: 2
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Instantiated class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\ElementAdminStyleEvent not found\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Parameter \\$gridHelperService of method Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\Controller\\\\SearchController\\:\\:findAction\\(\\) has invalid type Pimcore\\\\Bundle\\\\AdminBundle\\\\Helper\\\\GridHelperService\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/Controller/SearchController.php
-
message: "#^Access to an undefined property Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\DataProvider\\\\GDPR\\\\Assets\\:\\:\\$config\\.$#"
count: 2
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/Assets.php
-
message: "#^Call to an undefined method Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\DataProvider\\\\GDPR\\\\Assets\\:\\:prepareQueryString\\(\\)\\.$#"
count: 3
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/Assets.php
-
message: "#^Call to static method extractSortingSettings\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Helper\\\\QueryParams\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/Assets.php
-
message: "#^Access to an undefined property Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\DataProvider\\\\GDPR\\\\DataObjects\\:\\:\\$config\\.$#"
count: 2
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/DataObjects.php
-
message: "#^Call to an undefined method Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\DataProvider\\\\GDPR\\\\DataObjects\\:\\:prepareQueryString\\(\\)\\.$#"
count: 3
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/DataObjects.php
-
message: "#^Call to static method extractSortingSettings\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Helper\\\\QueryParams\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/DataObjects.php
-
message: "#^Method Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\MessageHandler\\\\SearchBackendHandler\\:\\:process\\(\\) is unused\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/MessageHandler/SearchBackendHandler.php
-
message: "#^Method Pimcore\\\\Bundle\\\\SimpleBackendSearchBundle\\\\MessageHandler\\\\SearchBackendHandler\\:\\:shouldFlush\\(\\) is unused\\.$#"
count: 1
path: bundles/SimpleBackendSearchBundle/src/MessageHandler/SearchBackendHandler.php
-
message: "#^Call to method addSetting\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\IndexActionSettingsEvent\\.$#"
count: 1
path: bundles/StaticRoutesBundle/src/EventListener/IndexSettingsListener.php
-
message: "#^Parameter \\$settingsEvent of method Pimcore\\\\Bundle\\\\StaticRoutesBundle\\\\EventListener\\\\IndexSettingsListener\\:\\:indexSettings\\(\\) has invalid type Pimcore\\\\Bundle\\\\AdminBundle\\\\Event\\\\IndexActionSettingsEvent\\.$#"
count: 1
path: bundles/StaticRoutesBundle/src/EventListener/IndexSettingsListener.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: lib/Image/Adapter/Imagick.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 2
path: lib/Mail.php
-
message: "#^Call to an undefined method COM\\:\\:Run\\(\\)\\.$#"
count: 1
path: lib/Tool/Console.php
-
message: "#^Dead catch \\- Throwable is never thrown in the try block\\.$#"
count: 1
path: lib/Tool/Serialize.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: models/Asset/Video/ImageThumbnail.php
-
message: "#^Call to method expandLocales\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\ConfigElementInterface\\.$#"
count: 1
path: models/DataObject/Service.php
-
message: "#^Call to method getLabeledValue\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\ConfigElementInterface\\.$#"
count: 1
path: models/DataObject/Service.php
-
message: "#^Call to method getRenderer\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\ConfigElementInterface\\.$#"
count: 2
path: models/DataObject/Service.php
-
message: "#^Call to method getValidLanguages\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\ConfigElementInterface\\.$#"
count: 1
path: models/DataObject/Service.php
-
message: "#^Class Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\Service not found\\.$#"
count: 1
path: models/DataObject/Service.php
-
message: "#^Method Pimcore\\\\Model\\\\DataObject\\\\Service\\:\\:getConfigForHelperDefinition\\(\\) has invalid return type Pimcore\\\\Bundle\\\\AdminBundle\\\\DataObject\\\\GridColumnConfig\\\\ConfigElementInterface\\.$#"
count: 1
path: models/DataObject/Service.php
-
message: "#^Class Pimcore\\\\Bundle\\\\PersonalizationBundle\\\\Model\\\\Document\\\\Targeting\\\\TargetingDocumentInterface not found\\.$#"
count: 1
path: models/Document/Editable/Renderlet.php
-
message: "#^Class Pimcore\\\\Bundle\\\\PersonalizationBundle\\\\Targeting\\\\Document\\\\DocumentTargetingConfigurator not found\\.$#"
count: 1
path: models/Document/Editable/Renderlet.php
-
message: "#^Class Pimcore\\\\Bundle\\\\PersonalizationBundle\\\\Targeting\\\\Document\\\\DocumentTargetingConfigurator not found\\.$#"
count: 1
path: models/Document/Editable/Snippet.php
-
message: "#^Call to static method get\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Perspective\\\\Config\\.$#"
count: 1
path: models/User.php
-
message: "#^Call to static method getAvailablePerspectives\\(\\) on an unknown class Pimcore\\\\Bundle\\\\AdminBundle\\\\Perspective\\\\Config\\.$#"
count: 1
path: models/User.php