@@ -45,8 +45,8 @@ |
||
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 | { |
@@ -24,7 +24,6 @@ |
||
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 |
@@ -113,7 +113,7 @@ |
||
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 | */ |
@@ -4,8 +4,6 @@ discard block |
||
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 |
||
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 | { |
@@ -37,7 +37,7 @@ |
||
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 = '') |
@@ -11,11 +11,9 @@ |
||
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 |