-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
148 lines (148 loc) · 4.94 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.12.0@e42bc4a23f67acba28a23bb09c348e2ff38a1d87">
<file src="src/DependencyInjection/Configuration.php">
<MixedMethodCall occurrences="47">
<code>addDefaultsIfNotSet</code>
<code>addDefaultsIfNotSet</code>
<code>addDefaultsIfNotSet</code>
<code>addDefaultsIfNotSet</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>arrayNode</code>
<code>cannotBeEmpty</code>
<code>cannotBeEmpty</code>
<code>cannotBeEmpty</code>
<code>cannotBeEmpty</code>
<code>children</code>
<code>children</code>
<code>children</code>
<code>children</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>defaultValue</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>end</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>scalarNode</code>
<code>variableNode</code>
</MixedMethodCall>
<PossiblyNullReference occurrences="1">
<code>arrayNode</code>
</PossiblyNullReference>
<PossiblyUndefinedMethod occurrences="1">
<code>arrayNode</code>
</PossiblyUndefinedMethod>
</file>
<file src="src/DependencyInjection/SetonoSyliusCriteoExtension.php">
<MixedArgument occurrences="2">
<code>$config['driver']</code>
<code>$config['resources']</code>
</MixedArgument>
<MixedArrayAccess occurrences="2">
<code>$config['routes']['cart']</code>
<code>$config['routes']['home']</code>
</MixedArrayAccess>
<ParamNameMismatch occurrences="1">
<code>$config</code>
</ParamNameMismatch>
<PossiblyNullArgument occurrences="1">
<code>$this->getConfiguration([], $container)</code>
</PossiblyNullArgument>
</file>
<file src="src/DeviceDetector/DeviceDetector.php">
<PropertyNotSetInConstructor occurrences="1">
<code>$deviceDetector</code>
</PropertyNotSetInConstructor>
<TypeDoesNotContainNull occurrences="1">
<code>null === $this->deviceDetector</code>
</TypeDoesNotContainNull>
</file>
<file src="src/Doctrine/ORM/AccountRepository.php">
<MixedInferredReturnType occurrences="1">
<code>?AccountInterface</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1"/>
<QueryBuilderSetParameter occurrences="1">
<code>$channel</code>
</QueryBuilderSetParameter>
</file>
<file src="src/EventListener/TagSubscriber.php">
<PropertyNotSetInConstructor occurrences="2">
<code>$account</code>
<code>$hasAccount</code>
</PropertyNotSetInConstructor>
<TypeDoesNotContainNull occurrences="1">
<code>null === $this->hasAccount</code>
</TypeDoesNotContainNull>
</file>
<file src="src/EventListener/ViewListSubscriber.php">
<MixedArgument occurrences="1">
<code>$product</code>
</MixedArgument>
<MixedAssignment occurrences="3">
<code>$product</code>
<code>$products</code>
<code>$subject</code>
</MixedAssignment>
</file>
<file src="src/Model/Account.php">
<MissingConstructor occurrences="3">
<code>$accountId</code>
<code>$channel</code>
<code>$id</code>
</MissingConstructor>
</file>
<file src="src/Resolver/SiteTypeResolver.php">
<MixedInferredReturnType occurrences="1">
<code>string</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1">
<code>$this->session->get(self::SESSION_KEY)</code>
</MixedReturnStatement>
</file>
<file src="tests/Behat/Context/Ui/Shop/TrackingContext.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this->channelContext->getChannel()</code>
</ArgumentTypeCoercion>
<MissingParamType occurrences="2">
<code>$accountId</code>
<code>$accountId</code>
</MissingParamType>
<MissingReturnType occurrences="6">
<code>aCriteoAccountWithAccountIdIsMadeForCurrentChannel</code>
<code>heWillFindTheTrackingLibraryWithAccountIdInTheCode</code>
<code>heWillNotFindTheTrackingLibraryInTheCode</code>
<code>thereIsAnDisabledCriteoAccountForCurrentChannel</code>
<code>thereIsAnEnabledCriteoAccountForCurrentChannel</code>
<code>thereIsNoCriteoAccountForCurrentChannel</code>
</MissingReturnType>
<MixedArgument occurrences="2">
<code>$accountId</code>
<code>$accountId</code>
</MixedArgument>
</file>
</files>