Completed
Push — master ( c5f2e3...7cc072 )
by Enrico
9s
created
src/Analyzer/Pass/Metadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param string $name
48
-     * @param null $description
49
-     * @param NodeDefinition|null $config
48
+     * @param string|null $description
49
+     * @param NodeDefinition $config
50 50
      */
51 51
     private function __construct($name, NodeDefinition $config, $description = null)
52 52
     {
Please login to merge, or discard this patch.
src/Command/CheckCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Symfony\Component\Console\Input\InputOption;
25 25
 use Symfony\Component\Console\Output\OutputInterface;
26 26
 use Webiny\Component\EventManager\EventManager;
27
-use PHPSA\Analyzer\Pass as AnalyzerPass;
28 27
 
29 28
 /**
30 29
  * Class CheckCommand
Please login to merge, or discard this patch.
tests/PHPSA/AnalyzeFixturesTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param string $analyzer
116
+     * @param string $analyzerName
117 117
      * @return EventManager
118 118
      * @throws \Webiny\Component\EventManager\EventManagerException
119 119
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use PhpParser\ParserFactory;
6 6
 use PHPSA\Analyzer;
7
-use PHPSA\Analyzer\EventListener\ExpressionListener;
8
-use PHPSA\Analyzer\EventListener\StatementListener;
9 7
 use PHPSA\Application;
10 8
 use PHPSA\Configuration;
11 9
 use PHPSA\Context;
@@ -15,8 +13,6 @@  discard block
 block discarded – undo
15 13
 use RecursiveIteratorIterator;
16 14
 use Webiny\Component\EventManager\EventManager;
17 15
 use PHPSA\Compiler;
18
-use PhpParser\Node;
19
-use PHPSA\Analyzer\Pass as AnalyzerPass;
20 16
 
21 17
 class AnalyzeFixturesTest extends TestCase
22 18
 {
Please login to merge, or discard this patch.
tests/PHPSA/TestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param $actual
40
+     * @param CompiledExpression|null $actual
41 41
      * @param string $message
42 42
      */
43 43
     protected function assertInstanceOfCompiledExpression($actual, $message = '')
Please login to merge, or discard this patch.
src/Command/CompileCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
 use RecursiveIteratorIterator;
12 12
 use SplFileInfo;
13 13
 use FilesystemIterator;
14
-use Symfony\Component\Config\FileLocator;
15 14
 use Symfony\Component\Console\Command\Command;
16 15
 use Symfony\Component\Console\Input\InputArgument;
17 16
 use Symfony\Component\Console\Input\InputInterface;
18
-use Symfony\Component\Console\Input\InputOption;
19 17
 use Symfony\Component\Console\Output\OutputInterface;
20 18
 use Webiny\Component\EventManager\EventManager;
21 19
 
Please login to merge, or discard this patch.