-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpsalm.baseline.xml
184 lines (184 loc) · 6.62 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.23.0@f1fe6ff483bf325c803df9f510d09a03fd796f88">
<file src="app/app.php">
<InvalidReturnStatement occurrences="1">
<code>$maybe_convert</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
<MixedArrayOffset occurrences="1">
<code>$cache['playlists'][$playlist_id]</code>
</MixedArrayOffset>
<PossiblyUndefinedGlobalVariable occurrences="1">
<code>$playlist_id</code>
</PossiblyUndefinedGlobalVariable>
<RedundantConditionGivenDocblockType occurrences="1">
<code>$maybe_convert instanceof VideoSection</code>
</RedundantConditionGivenDocblockType>
</file>
<file src="app/lunr-docs-preload.php">
<MixedArgument occurrences="3">
<code>$transcriptions</code>
<code>$transcriptions</code>
<code>$transcriptions[$vendor_video_id]['transcript']</code>
</MixedArgument>
<MixedArrayAccess occurrences="1">
<code>$transcriptions[$vendor_video_id]['transcript']</code>
</MixedArrayAccess>
<MixedAssignment occurrences="1">
<code>$transcriptions</code>
</MixedAssignment>
</file>
<file src="app/src/Jsonify.php">
<LessSpecificReturnStatement occurrences="1"/>
<MixedArgument occurrences="15">
<code>$maybe</code>
<code>$maybe</code>
<code>$other_video_id</code>
<code>$process[$video_id]['incoming_video_cards'] ?? []</code>
<code>$process[$video_id]['seealso'] ?? []</code>
<code>$process[$video_id]['seealso_card_channels']</code>
<code>$process[$video_id]['seealso_card_channels']</code>
<code>$process[$video_id]['seealso_card_channels']</code>
<code>$process[$video_id]['seealso_card_channels']</code>
<code>$process[$video_id]['seealso_card_urls']</code>
<code>$process[$video_id]['seealso_card_urls']</code>
<code>$process[$video_id]['seealso_card_urls']</code>
<code>$process[$video_id]['seealso_card_urls']</code>
<code>$process[$video_id]['seealso_topic_cards'] ?? []</code>
<code>$process[$video_id]['seealso_video_cards'] ?? []</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="2">
<code>$faq_duplicates_for_date_checking</code>
</MixedArgumentTypeCoercion>
<MixedArrayAccess occurrences="5">
<code>$row[0]</code>
<code>$row[0]</code>
<code>$row[1]</code>
<code>$row[1]</code>
<code>$row[2]</code>
</MixedArrayAccess>
<MixedAssignment occurrences="4">
<code>$maybe</code>
<code>$other_video_id</code>
<code>$row</code>
<code>$row</code>
</MixedAssignment>
<MoreSpecificReturnType occurrences="1"/>
<PossiblyNullOperand occurrences="3">
<code>$this->injected->determine_video_title($other_video_id)</code>
</PossiblyNullOperand>
<RedundantCondition occurrences="1">
<code>isset($cards)</code>
</RedundantCondition>
</file>
<file src="app/src/Markdownify.php">
<PossiblyNullOperand occurrences="2"/>
</file>
<file src="app/src/SkippingTranscriptions.php">
<MixedArgumentTypeCoercion occurrences="2">
<code>$might_not_actually_be_skipped</code>
<code>usort($skipping, [$sorting, 'sort_video_ids_by_date'])</code>
</MixedArgumentTypeCoercion>
<MixedPropertyTypeCoercion occurrences="1">
<code>$skipping</code>
</MixedPropertyTypeCoercion>
<UnusedVariable occurrences="1">
<code>$not_actually_skipped</code>
</UnusedVariable>
</file>
<file src="app/src/VideoSection.php">
<InaccessibleProperty occurrences="1">
<code>$this->is_all_section</code>
</InaccessibleProperty>
<MixedPropertyTypeCoercion occurrences="1">
<code>$subsections</code>
</MixedPropertyTypeCoercion>
<TypeDoesNotContainType occurrences="2"/>
</file>
<file src="app/src/funcs.php">
<DocblockTypeContradiction occurrences="1">
<code>null === $maybe_needs_alt_layout</code>
</DocblockTypeContradiction>
<InaccessibleProperty occurrences="1">
<code>$sections[$use_parent_section]->subsections</code>
</InaccessibleProperty>
<InvalidReturnStatement occurrences="1">
<code>$inject</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1"/>
<MixedArgument occurrences="11">
<code>$data['topics']</code>
<code>$embed_data_set</code>
<code>$end ?: null</code>
<code>$i</code>
<code>$lines[0]</code>
<code>$maybe->cardRenderer->content->simpleCardContentRenderer->command->urlEndpoint->url</code>
<code>$result</code>
<code>$start</code>
<code>$start</code>
<code>$title</code>
<code>$video_id</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="7">
<code>$lines</code>
<code>$lines</code>
<code>$lines</code>
<code>$lines</code>
<code>preg_replace('/\bu[hm]\b/', ', ', $lines)</code>
</MixedArgumentTypeCoercion>
<MixedArrayAccess occurrences="6">
<code>$data['title']</code>
<code>$data['topics']</code>
<code>$data['topics']</code>
<code>$embed_data_set[$i]['end-raw']</code>
<code>$start</code>
<code>$title</code>
</MixedArrayAccess>
<MixedArrayOffset occurrences="1">
<code>$embed_data_set[$i]</code>
</MixedArrayOffset>
<MixedAssignment occurrences="7">
<code>$end</code>
<code>$i</code>
<code>$maybe_sub_end</code>
<code>$maybe_sub_start</code>
<code>$result</code>
<code>$row</code>
<code>[$start,, $title]</code>
</MixedAssignment>
<MixedOperand occurrences="2">
<code>$end</code>
<code>$start</code>
</MixedOperand>
<MixedPropertyFetch occurrences="1">
<code>$maybe->cardRenderer->content</code>
</MixedPropertyFetch>
<MixedReturnTypeCoercion occurrences="3">
<code>$lines</code>
<code>$lines</code>
<code>list<string></code>
</MixedReturnTypeCoercion>
<PossiblyUndefinedVariable occurrences="2">
<code>$embed_data_set</code>
<code>$needs_alt_layout</code>
</PossiblyUndefinedVariable>
<TypeDoesNotContainType occurrences="1">
<code>$youtube_redirect</code>
</TypeDoesNotContainType>
<UnusedVariable occurrences="1">
<code>$youtube_redirect</code>
</UnusedVariable>
</file>
<file src="app/uncache-pages.php">
<MixedArgument occurrences="1">
<code>json_decode(file_get_contents($skipping_cache))</code>
</MixedArgument>
</file>
<file src="app/uncache-skipping.php">
<UnusedVariable occurrences="1">
<code>$argv</code>
</UnusedVariable>
</file>
</files>