Passed
Push — master ( 24ca72...9eb9f5 )
by Paul
03:27
created
src/Parser/NodeParser/ValueNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function invoke($node, NodeInterface $parent): void
30 30
     {
31
-        if (! $node instanceof Node\Expr || ! $parent instanceof VariableLikeInterface) {
31
+        if (!$node instanceof Node\Expr || !$parent instanceof VariableLikeInterface) {
32 32
             throw new Exception('ValueNodeParser is made to parse a expression node');
33 33
         }
34 34
     }
Please login to merge, or discard this patch.
src/Parser/NodeParser/TypeNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function invoke($node, NodeInterface $parent): void
31 31
     {
32
-        if (! $parent instanceof TypeInterface) {
32
+        if (!$parent instanceof TypeInterface) {
33 33
             throw new Exception('TypeNodeParser is made to parse a type node');
34 34
         }
35 35
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/FunctionNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function invoke($node, NodeInterface $parent): void
29 29
     {
30
-        if (! $node instanceof Node\Stmt\Function_ || ! $parent instanceof PhpFileModelInterface) {
30
+        if (!$node instanceof Node\Stmt\Function_ || !$parent instanceof PhpFileModelInterface) {
31 31
             throw new Exception('FunctionNodeParser is made to parse a function node');
32 32
         }
33 33
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/ParameterNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function invoke($node, NodeInterface $parent): void
51 51
     {
52
-        if (! $node instanceof Node\Param || ! $parent instanceof FunctionModelInterface) {
52
+        if (!$node instanceof Node\Param || !$parent instanceof FunctionModelInterface) {
53 53
             throw new Exception('ParameterNodeParser is made to parse a function parameter node');
54 54
         }
55 55
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/InterfaceNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public function invoke($node, NodeInterface $parent): void
62 62
     {
63 63
         if ($this->config->hasInterfaceParsing()) {
64
-            if (! $node instanceof Node\Stmt\Interface_ || ! $parent instanceof PhpFileModelInterface) {
64
+            if (!$node instanceof Node\Stmt\Interface_ || !$parent instanceof PhpFileModelInterface) {
65 65
                 throw new Exception('InterfaceNodeParser is made to parse an interface node');
66 66
             }
67 67
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/ClassNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function invoke($node, NodeInterface $parent): void
55 55
     {
56
-        if (! $node instanceof Node\Stmt\Class_ || ! $parent instanceof PhpFileModelInterface) {
56
+        if (!$node instanceof Node\Stmt\Class_ || !$parent instanceof PhpFileModelInterface) {
57 57
             throw new Exception('ClassNodeParser is made to parse a class node');
58 58
         }
59 59
         $class = new ClassModel();
Please login to merge, or discard this patch.
src/Parser/NodeParser/NamespaceNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function invoke($node, NodeInterface $parent): void
58 58
     {
59
-        if (! $node instanceof Node\Stmt\Namespace_ || ! $parent instanceof PhpFileModelInterface) {
59
+        if (!$node instanceof Node\Stmt\Namespace_ || !$parent instanceof PhpFileModelInterface) {
60 60
             throw new Exception('NamespaceNodeParser is made to parse a namespace node');
61 61
         }
62 62
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/GroupUseNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function invoke($node, NodeInterface $parent): void
28 28
     {
29
-        if (! $node instanceof Node\Stmt\GroupUse || ! $parent instanceof PhpFileModelInterface) {
29
+        if (!$node instanceof Node\Stmt\GroupUse || !$parent instanceof PhpFileModelInterface) {
30 30
             throw new Exception('GroupUseNodeParser is made to parse a use group node');
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Parser/NodeParser/TraitNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function invoke($node, NodeInterface $parent): void
55 55
     {
56
-        if (! $node instanceof Node\Stmt\Trait_ || ! $parent instanceof PhpFileModelInterface) {
56
+        if (!$node instanceof Node\Stmt\Trait_ || !$parent instanceof PhpFileModelInterface) {
57 57
             throw new Exception('TraitNodeParser is made to parse a trait node');
58 58
         }
59 59
 
Please login to merge, or discard this patch.