Completed
Pull Request — master (#293)
by Дмитрий
03:43
created
src/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * Create a configuration from array.
25 25
      *
26 26
      * @param array $configuration
27
-     * @param array $analyzersConfiguration
27
+     * @param \Symfony\Component\Config\Definition\Builder\NodeDefinition[] $analyzersConfiguration
28 28
      */
29 29
     public function __construct(array $configuration = [], array $analyzersConfiguration = [])
30 30
     {
Please login to merge, or discard this patch.
tests/PHPSA/TestCase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use PHPSA\Node\Scalar\Nil;
10 10
 use RuntimeException;
11 11
 use Symfony\Component\Console\Output\ConsoleOutput;
12
-use PHPSA\Definition\ClassDefinition;
13 12
 use PHPSA\Application;
14 13
 use PhpParser\Node;
15 14
 use Webiny\Component\EventManager\EventManager;
Please login to merge, or discard this patch.
src/ControlFlow/ControlFlowGraph.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
     protected $lastBlockId = 1;
20 20
 
21
+    /**
22
+     * @param Function_ $statement
23
+     */
21 24
     public function __construct($statement)
22 25
     {
23 26
         $block = new Block($this->lastBlockId++);
Please login to merge, or discard this patch.
src/ControlFlow/Printer/DebugText.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 namespace PHPSA\ControlFlow\Printer;
7 7
 
8 8
 use PHPSA\ControlFlow\Block;
9
-use PHPSA\ControlFlow\Node\JumpIf;
10
-use PHPSA\ControlFlow\Node\JumpIfNode;
11 9
 
12 10
 class DebugText
13 11
 {
Please login to merge, or discard this patch.