Test Setup Failed
Push — master ( ee8619...0034f2 )
by Matthew
04:38
created
src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -262,11 +262,11 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Sets the new return type
264 264
      *
265
-     * @param   ?string     $php_type
265
+     * @param   string|null     $php_type
266 266
      * @param   string      $new_type
267 267
      * @param   string      $phpdoc_type
268 268
      * @param   bool        $is_php_compatible
269
-     * @param   ?string     $description
269
+     * @param   string|null     $description
270 270
      *
271 271
      * @return  void
272 272
      */
@@ -285,10 +285,9 @@  discard block
 block discarded – undo
285 285
      * Sets a new param type
286 286
      *
287 287
      * @param   string      $param_name
288
-     * @param   ?string     $php_type
288
+     * @param   string|null     $php_type
289 289
      * @param   string      $new_type
290 290
      * @param   string      $phpdoc_type
291
-     * @param   bool        $is_php_compatible
292 291
      *
293 292
      * @return  void
294 293
      */
Please login to merge, or discard this patch.
src/Psalm/Internal/Fork/Pool.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,7 @@
 block discarded – undo
88 88
      * This closure must return an array (to be gathered).
89 89
      * @param \Closure():mixed $shutdown_closure
90 90
      * A closure to execute upon shutting down a child
91
-     * @param ?\Closure(mixed $data):void $task_done_closure
92
-     * A closure to execute when a task is done
91
+     * @param \Closure $task_done_closure
93 92
      *
94 93
      * @psalm-suppress MixedAssignment
95 94
      */
Please login to merge, or discard this patch.
src/Psalm/Internal/LanguageServer/ClientHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
                 $listener =
64 64
                     /**
65
-                     * @return void
65
+                     * @return Promise
66 66
                      */
67 67
                     function (Message $msg) use ($id, $deferred, &$listener) {
68 68
                         error_log('request handler');
Please login to merge, or discard this patch.
src/Psalm/Internal/PhpVisitor/AssignmentMapVisitor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Psalm\Internal\PhpVisitor;
3 3
 
4 4
 use PhpParser;
5
-use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
6 5
 use Psalm\Internal\Analyzer\Statements\Expression\ExpressionIdentifier;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Psalm/Internal/PhpVisitor/ReflectorVisitor.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -2853,6 +2853,7 @@  discard block
 block discarded – undo
2853 2853
 
2854 2854
     /**
2855 2855
      * @param  PhpParser\Node\Param $param
2856
+     * @param string|null $fq_classlike_name
2856 2857
      *
2857 2858
      * @return FunctionLikeParameter
2858 2859
      */
@@ -2964,6 +2965,7 @@  discard block
 block discarded – undo
2964 2965
      * @param  FunctionLikeStorage          $storage
2965 2966
      * @param  array<int, array{type:string,name:string,line_number:int,start:int,end:int}>  $docblock_params
2966 2967
      * @param  PhpParser\Node\FunctionLike  $function
2968
+     * @param string|null $fq_classlike_name
2967 2969
      *
2968 2970
      * @return void
2969 2971
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@  discard block
 block discarded – undo
37 37
 use Psalm\Internal\Analyzer\Statements\Expression\Fetch\ConstFetchAnalyzer;
38 38
 use Psalm\Internal\Analyzer\Statements\Expression\IncludeAnalyzer;
39 39
 use Psalm\Internal\Analyzer\Statements\Expression\SimpleTypeInferer;
40
-use Psalm\Internal\Analyzer\StatementsAnalyzer;
41 40
 use Psalm\Internal\Codebase\InternalCallMapHandler;
42 41
 use Psalm\Internal\Codebase\PropertyMap;
43 42
 use Psalm\Internal\Scanner\FileScanner;
@@ -67,7 +66,6 @@  discard block
 block discarded – undo
67 66
 use function substr;
68 67
 use function trim;
69 68
 use function preg_split;
70
-use php_user_filter;
71 69
 use function strlen;
72 70
 
73 71
 /**
Please login to merge, or discard this patch.
src/Psalm/Internal/PhpVisitor/ShortClosureVisitor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Psalm\Internal\PhpVisitor;
3 3
 
4 4
 use PhpParser;
5
-use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
6 5
 
7 6
 /**
8 7
  * @internal
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/FileReferenceCacheProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use function file_put_contents;
8 8
 use function is_array;
9 9
 use function is_readable;
10
-use Psalm\Internal\Analyzer\IssueData;
11 10
 use Psalm\Config;
12 11
 use function serialize;
13 12
 use function unserialize;
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/FileReferenceProvider.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
                 /**
154 154
                  * @param  string $file_name
155 155
                  *
156
-                 * @return bool
156
+                 * @return string[]
157 157
                  */
158 158
                 function ($file_name) {
159 159
                     return !file_exists($file_name);
@@ -991,7 +991,6 @@  discard block
 block discarded – undo
991 991
 
992 992
     /**
993 993
      * @param string $file_path
994
-     * @param IssueData $issue
995 994
      *
996 995
      * @return void
997 996
      */
Please login to merge, or discard this patch.
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.