Passed
Push — develop ( 57c976...d84eba )
by Paul
02:02
created
src/Annotation/GetAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             } catch (JsonException $exception) {
44 44
                 throw new AnnotationParseException('"getter" annotation content is invalid (invalid JSON content)');
45 45
             }
46
-            if (! is_string($decoded)) {
46
+            if (!is_string($decoded)) {
47 47
                 throw new AnnotationParseException(
48 48
                     '"getter" annotation content is invalid (property name must be a string)'
49 49
                 );
Please login to merge, or discard this patch.
src/Parser/NodeParser/UseNodeParser.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\Use_ || ! $parent instanceof PhpFileModelInterface) {
29
+        if (!$node instanceof Node\Stmt\Use_ || !$parent instanceof PhpFileModelInterface) {
30 30
             throw new Exception('UseNodeParser is made to parse a use node');
31 31
         }
32 32
 
Please login to merge, or discard this patch.
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/MethodNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function invoke($node, NodeInterface $parent): void
32 32
     {
33
-        if (! $node instanceof Node\Stmt\ClassMethod || ! $parent instanceof InterfaceModelInterface) {
33
+        if (!$node instanceof Node\Stmt\ClassMethod || !$parent instanceof InterfaceModelInterface) {
34 34
             throw new Exception('MethodNodeParser is made to parse a method node');
35 35
         }
36 36
 
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.