forked from pimcore/customer-data-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
193 lines (156 loc) · 8.53 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
181
182
183
184
185
186
187
188
189
190
191
192
193
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/ActionTrigger/EventHandler/DefaultEventHandler.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/Controller/Admin/ActivitiesController.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 2
path: src/Controller/Admin/CustomersController.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/Controller/Admin/DuplicatesController.php
-
message: "#^Parameter \\#1 \\$segments of class CustomerManagementFrameworkBundle\\\\CustomerList\\\\Filter\\\\CustomerSegment constructor expects array\\<Pimcore\\\\Model\\\\DataObject\\\\CustomerSegment\\>, array\\<int\\<0, max\\>, CustomerManagementFrameworkBundle\\\\Model\\\\CustomerSegmentInterface\\> given\\.$#"
reportUnmatched: false
count: 2
path: src/CustomerList/SearchHelper.php
-
message: "#^Parameter \\#1 \\$segments of class CustomerManagementFrameworkBundle\\\\CustomerList\\\\Filter\\\\CustomerSegment constructor expects array\\<Pimcore\\\\Model\\\\DataObject\\\\CustomerSegment\\>, array\\<int, CustomerManagementFrameworkBundle\\\\Model\\\\CustomerSegmentInterface\\> given\\.$#"
reportUnmatched: false
count: 2
path: src/CustomerList/SearchHelper.php
-
message: "#^Call to function is_object\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: src/CustomerView/DefaultCustomerView.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/DuplicatesIndex/DefaultMariaDbDuplicatesIndex.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/Factory.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Filter/ExportActivitiesFilterParams.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Filter/ExportCustomersFilterParams.php
-
message: "#^Call to an undefined static method Pimcore\\\\Model\\\\DataObject\\\\Concrete\\:\\:getProfilingConsent\\(\\)\\.$#"
count: 1
path: src/Model/AbstractCustomer.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Model/AbstractObjectActivity.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: src/Model/Activity/GenericActivity.php
-
message: "#^Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: src/Model/Activity/GenericActivity.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Model/Activity/GenericActivity.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Model/Activity/TrackedUrlActivity.php
-
message: "#^PHPDoc type CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\\\MariaDbDao of property CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\:\\:\\$dao is not covariant with PHPDoc type Pimcore\\\\Model\\\\Dao\\\\AbstractDao\\|null of overridden property Pimcore\\\\Model\\\\AbstractModel\\:\\:\\$dao\\.$#"
count: 1
path: src/Model/ActivityList/DefaultMariaDbActivityList.php
-
message: "#^Property CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\:\\:\\$dao \\(CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\\\MariaDbDao\\) does not accept CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\\\MySqlDao\\.$#"
count: 1
path: src/Model/ActivityList/MySqlActivityList.php
-
message: "#^PHPDoc type CustomerManagementFrameworkBundle\\\\Model\\\\SegmentAssignmentInterface\\|null of property CustomerManagementFrameworkBundle\\\\Model\\\\SegmentAssignment\\\\SegmentAssignment\\\\Dao\\:\\:\\$model is not covariant with PHPDoc type Pimcore\\\\Model\\\\AbstractModel of overridden property Pimcore\\\\Model\\\\Dao\\\\AbstractDao\\:\\:\\$model\\.$#"
count: 1
path: src/Model/SegmentAssignment/SegmentAssignment/Dao.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Newsletter/ProviderHandler/Mailchimp/CliSyncProcessor.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 2
path: src/Newsletter/Queue/DefaultNewsletterQueue.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/RESTApi/CustomersHandler.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/RESTApi/SegmentGroupsHandler.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/RESTApi/SegmentsHandler.php
-
message: "#^Call to an undefined method CustomerManagementFrameworkBundle\\\\RESTApi\\\\SegmentsOfCustomerHandler\\:\\:createRoute\\(\\)\\.$#"
count: 1
path: src/RESTApi/SegmentsOfCustomerHandler.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/SegmentBuilder/AgeSegmentBuilder.php
-
message: "#^Call to an undefined method Knp\\\\Component\\\\Pager\\\\Pagination\\\\PaginationInterface\\:\\:getPaginationData\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentBuilderExecutor/DefaultSegmentBuilderExecutor.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: src/SegmentManager/SegmentBuilderExecutor/DefaultSegmentBuilderExecutor.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 2
path: src/SegmentManager/SegmentBuilderExecutor/DefaultSegmentBuilderExecutor.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:getApplication_counter\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentExtractor/DefaultSegmentExtractor.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:getApplication_counter\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentMerger/DefaultSegmentMerger/MetadataFiller.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:getCreated_timestamp\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentMerger/DefaultSegmentMerger/MetadataFiller.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:setApplication_counter\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentMerger/DefaultSegmentMerger/MetadataFiller.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:setCreated_timestamp\\(\\)\\.$#"
count: 1
path: src/SegmentManager/SegmentMerger/DefaultSegmentMerger/MetadataFiller.php
-
message: "#^Call to an undefined method Pimcore\\\\Model\\\\DataObject\\\\Data\\\\ObjectMetadata\\:\\:getApplication_counter\\(\\)\\.$#"
count: 2
path: src/Targeting/ActionHandler/ApplyTargetGroupsFromSegments.php
-
message: "#^Property CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\\\MySqlDao\\:\\:\\$model \\(CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\MySqlActivityList\\) does not accept Pimcore\\\\Model\\\\AbstractModel\\.$#"
count: 1
path: src/Model/ActivityList/DefaultMariaDbActivityList/MySqlDao.php
-
message: "#^Property CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\\\MariaDbDao\\:\\:\\$model \\(CustomerManagementFrameworkBundle\\\\Model\\\\ActivityList\\\\DefaultMariaDbActivityList\\) does not accept Pimcore\\\\Model\\\\AbstractModel\\.$#"
count: 1
path: src/Model/ActivityList/DefaultMariaDbActivityList/MariaDbDao.php