Completed
Push — master ( 0b5c23...63398c )
by Freek
02:08
created
src/DirectoryConverter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         $this->logger = $output;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $target
38
+     */
36 39
     public function log($sourceItem, $target)
37 40
     {
38 41
         if (is_null($this->logger)) {
Please login to merge, or discard this patch.
src/NodeVisitors/AnonymousClassReplacer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * @param array $nodes
102 102
      * @param $hookIndex
103
-     * @param $anonymousClassStatements
103
+     * @param Node[] $anonymousClassStatements
104 104
      * 
105 105
      * @return array
106 106
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Spatie\Php7to5\NodeVisitors;
4 4
 
5 5
 use PhpParser\Node;
6
+use PhpParser\NodeVisitorAbstract;
6 7
 use PhpParser\Node\Stmt\Declare_;
7 8
 use PhpParser\Node\Stmt\Namespace_;
8 9
 use PhpParser\Node\Stmt\Use_;
9
-use PhpParser\NodeVisitorAbstract;
10 10
 use Spatie\Php7to5\Converter;
11 11
 use Spatie\Php7to5\Exceptions\InvalidPhpCode;
12 12
 
Please login to merge, or discard this patch.
src/NodeVisitors/NullCoalesceReplacer.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Spatie\Php7to5\NodeVisitors;
4 4
 
5 5
 use PhpParser\Node;
6
-use PhpParser\Node\Expr\BinaryOp\Coalesce;
7 6
 use PhpParser\NodeVisitorAbstract;
7
+use PhpParser\Node\Expr\BinaryOp\Coalesce;
8 8
 
9 9
 class NullCoalesceReplacer extends NodeVisitorAbstract
10 10
 {
Please login to merge, or discard this patch.
src/NodeVisitors/ReturnTypesRemover.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Spatie\Php7to5\NodeVisitors;
4 4
 
5 5
 use PhpParser\Node;
6
-use PhpParser\Node\FunctionLike;
7 6
 use PhpParser\NodeVisitorAbstract;
7
+use PhpParser\Node\FunctionLike;
8 8
 
9 9
 class ReturnTypesRemover extends NodeVisitorAbstract
10 10
 {
Please login to merge, or discard this patch.
src/NodeVisitors/ScalarTypeHintsRemover.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Spatie\Php7to5\NodeVisitors;
4 4
 
5 5
 use PhpParser\Node;
6
-use PhpParser\Node\Param;
7 6
 use PhpParser\NodeVisitorAbstract;
7
+use PhpParser\Node\Param;
8 8
 
9 9
 class ScalarTypeHintsRemover extends NodeVisitorAbstract
10 10
 {
Please login to merge, or discard this patch.