Test Setup Failed
Pull Request — master (#3559)
by Jáchym
05:17
created
src/Psalm/Internal/Provider/FunctionExistenceProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,6 @@
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
-     * @param  array<PhpParser\Node\Arg>  $call_args
65 64
      *
66 65
      * @return ?bool
67 66
      */
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/ParserCacheProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,6 @@
 block discarded – undo
365 365
     }
366 366
 
367 367
     /**
368
-     * @param float $start_time
369 368
      *
370 369
      * @return void
371 370
      */
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/PropertyTypeProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @param  array<PhpParser\Node\Arg>  $call_args
73 72
      *
74 73
      * @return ?Type\Union
75 74
      */
Please login to merge, or discard this patch.
Psalm/Internal/Provider/ReturnTypeProvider/ArrayMapReturnTypeProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -267,6 +267,7 @@
 block discarded – undo
267 267
 
268 268
     /**
269 269
      * @param non-empty-array<string> $mapping_function_ids
270
+     * @param ArrayType|null $array_arg_type
270 271
      */
271 272
     private static function getReturnTypeFromMappingIds(
272 273
         \Psalm\Internal\Analyzer\StatementsAnalyzer $statements_source,
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/StatementsProvider.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * @param string    $file_path
86 86
      *
87
-     * @return list<\PhpParser\Node\Stmt>
87
+     * @return PhpParser\Node[]
88 88
      */
89 89
     public function getStatementsForFile($file_path, Progress $progress = null)
90 90
     {
@@ -184,9 +184,9 @@  discard block
 block discarded – undo
184 184
 
185 185
                 $unchanged_members = array_map(
186 186
                     /**
187
-                     * @param int $_
187
+                     * @param string $_
188 188
                      *
189
-                     * @return bool
189
+                     * @return PhpParser\Node[]
190 190
                      */
191 191
                     function ($_) {
192 192
                         return true;
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
 
197 197
                 $unchanged_signature_members = array_map(
198 198
                     /**
199
-                     * @param int $_
199
+                     * @param string $_
200 200
                      *
201
-                     * @return bool
201
+                     * @return PhpParser\Node[]
202 202
                      */
203 203
                     function ($_) {
204 204
                         return true;
@@ -221,9 +221,9 @@  discard block
 block discarded – undo
221 221
 
222 222
                 $changed_members = array_map(
223 223
                     /**
224
-                     * @param int $_
224
+                     * @param string $_
225 225
                      *
226
-                     * @return bool
226
+                     * @return PhpParser\Node[]
227 227
                      */
228 228
                     function ($_) {
229 229
                         return true;
Please login to merge, or discard this patch.
src/Psalm/Internal/Type/AssertionReconciler.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -336,6 +336,7 @@  discard block
 block discarded – undo
336 336
      * @param   string[]    $suppressed_issues
337 337
      * @param   array<string, array<string, array{Type\Union}>> $template_type_map
338 338
      * @param-out   0|1|2   $failed_reconciliation
339
+     * @param null|CodeLocation $code_location
339 340
      */
340 341
     private static function refine(
341 342
         StatementsAnalyzer $statements_analyzer,
@@ -848,6 +849,7 @@  discard block
 block discarded – undo
848 849
 
849 850
     /**
850 851
      * @param  string[]   $suppressed_issues
852
+     * @param null|CodeLocation $code_location
851 853
      */
852 854
     private static function handleLiteralEquality(
853 855
         string $assertion,
Please login to merge, or discard this patch.
src/Psalm/Internal/Type/NegatedAssertionReconciler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
      * @param  array<string, array<string, array{Type\Union}>> $template_type_map
29 29
      * @param  string[]   $suppressed_issues
30 30
      * @param  0|1|2      $failed_reconciliation
31
+     * @param null|CodeLocation $code_location
31 32
      *
32 33
      * @return Type\Union
33 34
      */
Please login to merge, or discard this patch.
src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,6 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @param   string[]  $suppressed_issues
196
-     * @param   0|1|2    $failed_reconciliation
197 195
      */
198 196
     private static function reconcileCallable(
199 197
         Type\Union $existing_var_type
@@ -282,6 +280,7 @@  discard block
 block discarded – undo
282 280
     /**
283 281
      * @param   string[]  $suppressed_issues
284 282
      * @param   0|1|2    $failed_reconciliation
283
+     * @param null|integer $min_count
285 284
      */
286 285
     private static function reconcileNonEmptyCountable(
287 286
         Type\Union $existing_var_type,
Please login to merge, or discard this patch.
src/Psalm/Internal/TypeVisitor/TypeScanner.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * @param  array<string, mixed> $phantom_classes
23
+     * @param null|FileStorage $file_storage
23 24
      *
24 25
      * @return void
25 26
      */
Please login to merge, or discard this patch.