-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
psalm-baseline.xml
162 lines (162 loc) · 5.67 KB
/
psalm-baseline.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
<file src="src/Controller/Action/Shop/ShowFeedAction.php">
<ImplicitToStringCast occurrences="1">
<code>$feedPath</code>
</ImplicitToStringCast>
</file>
<file src="src/DataProvider/DataProvider.php">
<PossiblyNullOperand occurrences="2">
<code>$channel->getCode()</code>
<code>$locale->getCode()</code>
</PossiblyNullOperand>
</file>
<file src="src/DependencyInjection/Compiler/RegisterFeedTypesPass.php">
<UnnecessaryVarAnnotation occurrences="1">
<code>string</code>
</UnnecessaryVarAnnotation>
</file>
<file src="src/DependencyInjection/Compiler/RegisterFilesystemPass.php">
<InvalidArgument occurrences="4">
<code>$parameterValue</code>
<code>$parameterValue</code>
<code>$parameterValue</code>
<code>$parameterValue</code>
</InvalidArgument>
<PossiblyInvalidCast occurrences="2">
<code>$parameterValue</code>
<code>$parameterValue</code>
</PossiblyInvalidCast>
</file>
<file src="src/DependencyInjection/Compiler/ValidateDataProvidersPass.php">
<MixedArgument occurrences="1">
<code>$code</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
<code>$attributes['code']</code>
</MixedArrayAccess>
<MixedArrayOffset occurrences="2">
<code>$seen[$code]</code>
<code>$seen[$code]</code>
</MixedArrayOffset>
<MixedAssignment occurrences="2">
<code>$attributes</code>
<code>$code</code>
</MixedAssignment>
</file>
<file src="src/DependencyInjection/Configuration.php">
<PossiblyNullReference occurrences="2">
<code>arrayNode</code>
<code>arrayNode</code>
</PossiblyNullReference>
<PossiblyUndefinedMethod occurrences="2">
<code>arrayNode</code>
<code>arrayNode</code>
</PossiblyUndefinedMethod>
<UnnecessaryVarAnnotation occurrences="1">
<code>ArrayNodeDefinition</code>
</UnnecessaryVarAnnotation>
</file>
<file src="src/DependencyInjection/SetonoSyliusFeedExtension.php">
<MixedArgument occurrences="4">
<code>$config['driver']</code>
<code>$config['resources']</code>
<code>$config['storage']['feed']</code>
<code>$config['storage']['feed_tmp']</code>
</MixedArgument>
<MixedArrayAccess occurrences="2">
<code>$config['storage']['feed']</code>
<code>$config['storage']['feed_tmp']</code>
</MixedArrayAccess>
<PossiblyNullArgument occurrences="1">
<code>$this->getConfiguration([], $container)</code>
</PossiblyNullArgument>
</file>
<file src="src/Doctrine/ORM/FeedRepository.php">
<MixedInferredReturnType occurrences="1">
<code>?FeedInterface</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1"/>
</file>
<file src="src/EventListener/Filter/AbstractFilterListener.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this->class</code>
</ArgumentTypeCoercion>
<MixedArgument occurrences="1">
<code>$additionalInstanceCheck</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$additionalInstanceCheck</code>
</MixedAssignment>
</file>
<file src="src/EventListener/MoveGeneratedFeedSubscriber.php">
<ImplicitToStringCast occurrences="1">
<code>$temporaryPath</code>
</ImplicitToStringCast>
</file>
<file src="src/Exception/GenerateBatchException.php">
<MixedOperand occurrences="1">
<code>$this->resourceId</code>
</MixedOperand>
</file>
<file src="src/Factory/ViolationFactory.php">
<MixedArgument occurrences="2">
<code>$constraint->payload['severity']</code>
<code>$constraintViolation->getInvalidValue()</code>
</MixedArgument>
</file>
<file src="src/Feed/Model/Google/Shopping/Price.php">
<PossiblyInvalidCast occurrences="1">
<code>$currency</code>
</PossiblyInvalidCast>
</file>
<file src="src/FeedContext/ContextList.php">
<MixedArgument occurrences="1">
<code>$context</code>
</MixedArgument>
<MixedAssignment occurrences="1">
<code>$context</code>
</MixedAssignment>
</file>
<file src="src/FeedContext/Google/Shopping/FeedContext.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$billingData->getCompany()</code>
</NullableReturnStatement>
<PossiblyNullOperand occurrences="1">
<code>$channel->getHostname()</code>
</PossiblyNullOperand>
</file>
<file src="src/Message/Handler/FinishGenerationHandler.php">
<MixedArgument occurrences="2">
<code>$feedEnd</code>
<code>$feedStart</code>
</MixedArgument>
<RedundantConditionGivenDocblockType occurrences="1">
<code>isArray</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="src/Message/Handler/GenerateBatchHandler.php">
<MixedArgumentTypeCoercion occurrences="1">
<code>$feedType->getValidationGroups()</code>
</MixedArgumentTypeCoercion>
<PropertyNotSetInConstructor occurrences="1">
<code>$initialRequestContext</code>
</PropertyNotSetInConstructor>
<UnnecessaryVarAnnotation occurrences="1">
<code>ConstraintViolationInterface</code>
</UnnecessaryVarAnnotation>
</file>
<file src="src/Model/FeedInterface.php">
<MismatchingDocblockReturnType occurrences="1">
<code>Collection|ViolationInterface[]</code>
</MismatchingDocblockReturnType>
</file>
<file src="src/Processor/FeedProcessor.php">
<PossiblyNullReference occurrences="1">
<code>info</code>
</PossiblyNullReference>
</file>
</files>