Test Setup Failed
Pull Request — master (#3619)
by Jeroen De
06:55 queued 01:43
created
src/Psalm/Internal/Analyzer/Statements/Expression/TernaryAnalyzer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $if_clauses = array_values(
60 60
             array_map(
61 61
                 /**
62
-                 * @return \Psalm\Internal\Clause
62
+                 * @return boolean
63 63
                  */
64 64
                 function (\Psalm\Internal\Clause $c) use ($mixed_var_ids) {
65 65
                     $keys = array_keys($c->possibilities);
Please login to merge, or discard this patch.
src/Psalm/Internal/Provider/MethodExistenceProvider.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/MethodVisibilityProvider.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/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.