Test Setup Failed
Pull Request — master (#3496)
by Markus
14:04 queued 04:05
created
src/Psalm/Internal/Provider/ProjectCacheProvider.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/PropertyExistenceProvider.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/PropertyVisibilityProvider.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/Type/Atomic/TList.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use function get_class;
5 5
 use Psalm\Codebase;
6
-use Psalm\CodeLocation;
7
-use Psalm\StatementsSource;
8 6
 use Psalm\Internal\Analyzer\StatementsAnalyzer;
9 7
 use Psalm\Internal\Type\TemplateResult;
10 8
 use Psalm\Internal\Type\UnionTemplateHandler;
Please login to merge, or discard this patch.
src/Psalm/Type/Atomic/TLiteralClassString.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Psalm\Type\Atomic;
3 3
 
4
-use Psalm\CodeLocation;
5
-use Psalm\StatementsSource;
6 4
 use function preg_quote;
7 5
 use function preg_replace;
8 6
 use function stripos;
Please login to merge, or discard this patch.
src/Psalm/Internal/Codebase/Taint.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -2,12 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Psalm\Internal\Codebase;
4 4
 
5
-use Psalm\CodeLocation;
6
-use Psalm\Internal\Analyzer\StatementsAnalyzer;
7
-use Psalm\Internal\Provider\ClassLikeStorageProvider;
8
-use Psalm\Internal\Provider\FileReferenceProvider;
9
-use Psalm\Internal\Provider\FileStorageProvider;
10
-use Psalm\Internal\Taint\Path;
11 5
 use Psalm\Internal\Taint\Sink;
12 6
 use Psalm\Internal\Taint\Source;
13 7
 use Psalm\Internal\Taint\TaintNode;
@@ -17,7 +11,6 @@  discard block
 block discarded – undo
17 11
 use function array_merge;
18 12
 use function array_merge_recursive;
19 13
 use function strtolower;
20
-use UnexpectedValueException;
21 14
 use function count;
22 15
 use function implode;
23 16
 use function substr;
Please login to merge, or discard this patch.
src/Psalm/Internal/Analyzer/Statements/Expression/IncludeAnalyzer.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -218,6 +218,8 @@
 block discarded – undo
218 218
     /**
219 219
      * @param  PhpParser\Node\Expr $stmt
220 220
      * @param  string              $file_name
221
+     * @param \Psalm\Internal\Provider\NodeDataProvider|null $type_provider
222
+     * @param StatementsAnalyzer|null $statements_analyzer
221 223
      *
222 224
      * @return string|null
223 225
      * @psalm-suppress MixedAssignment
Please login to merge, or discard this patch.
src/Psalm/Internal/Analyzer/FunctionAnalyzer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use PhpParser;
5 5
 use Psalm\Internal\Codebase\InternalCallMapHandler;
6
-use Psalm\Internal\Taint\TaintNode;
7
-use Psalm\CodeLocation;
8 6
 use Psalm\Context;
9 7
 use Psalm\Type;
10 8
 use function strtolower;
Please login to merge, or discard this patch.
src/Psalm/Internal/Codebase/InternalCallMapHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * @param  string                           $method_id
51 51
      * @param  array<int, PhpParser\Node\Arg>   $args
52
+     * @param \Psalm\Internal\Provider\NodeDataProvider|null $nodes
52 53
      *
53 54
      * @return TCallable
54 55
      */
Please login to merge, or discard this patch.