@@ -37,7 +37,7 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param $actual |
|
| 40 | + * @param CompiledExpression $actual |
|
| 41 | 41 | * @param string $message |
| 42 | 42 | */ |
| 43 | 43 | protected function assertInstanceOfCompiledExpression($actual, $message = '') |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | protected $name = '\PhpParser\Node\Stmt\ElseIf_'; |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - * @param \PhpParser\Node\Stmt\ElseIf_ $statement |
|
| 13 | + * @param \PhpParser\Node\Stmt\ElseIf_ $elseIfStatement |
|
| 14 | 14 | * @param Context $context |
| 15 | 15 | */ |
| 16 | 16 | public function compile($elseIfStatement, Context $context) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Tests\PHPSA\Expression\BinaryOp; |
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; |
| 6 | -use PHPSA\CompiledExpression; |
|
| 7 | 6 | use PHPSA\Compiler\Expression; |
| 8 | 7 | use PHPSA\Compiler\Expression\Operators\UnaryMinus; |
| 9 | 8 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | protected $name = '\PhpParser\Node\Stmt\Else_'; |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - * @param \PhpParser\Node\Stmt\Else_ $statement |
|
| 13 | + * @param \PhpParser\Node\Stmt\Else_ $elseStatement |
|
| 14 | 14 | * @param Context $context |
| 15 | 15 | */ |
| 16 | 16 | public function compile($elseStatement, Context $context) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Tests\PHPSA\Expression\BinaryOp; |
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; |
| 6 | -use PHPSA\CompiledExpression; |
|
| 7 | 6 | use PHPSA\Compiler\Expression; |
| 8 | 7 | use PHPSA\Compiler\Expression\Operators\UnaryMinus; |
| 9 | 8 | |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | use InvalidArgumentException; |
| 9 | 9 | use phpDocumentor\Reflection\DocBlockFactory; |
| 10 | -use PHPSA\Check; |
|
| 11 | 10 | use PHPSA\CompiledExpression; |
| 12 | 11 | use PHPSA\Compiler\Event\ExpressionBeforeCompile; |
| 13 | 12 | use PHPSA\Context; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Tests\PHPSA\Expression\BinaryOp; |
| 4 | 4 | |
| 5 | 5 | use PhpParser\Node; |
| 6 | -use PHPSA\CompiledExpression; |
|
| 7 | 6 | use PHPSA\Compiler\Expression; |
| 8 | 7 | use PHPSA\Compiler\Expression\Operators\UnaryMinus; |
| 9 | 8 | |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use PhpParser\Node\Stmt\Class_; |
| 8 | 8 | use PhpParser\Node\Stmt; |
| 9 | 9 | use PHPSA\Analyzer\Pass\AnalyzerPassInterface; |
| 10 | -use PHPSA\Analyzer\Pass\ConfigurablePassInterface; |
|
| 11 | 10 | use PHPSA\Context; |
| 12 | 11 | |
| 13 | 12 | class MissingVisibility implements AnalyzerPassInterface |