Test Failed
Push — master ( e3b5b4...43c430 )
by Kirill
04:55
created
src/Frontend/Builder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Railt\SDL\Frontend;
11 11
 
12 12
 use Railt\Io\Readable;
13
-use Railt\Parser\Ast\NodeInterface;
14 13
 use Railt\Parser\Ast\RuleInterface;
15 14
 use Railt\SDL\Exception\InternalException;
16 15
 use Railt\SDL\Frontend\Builder\BuilderInterface;
Please login to merge, or discard this patch.
src/Frontend/Type/BaseType.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param TypeInterface $type
57 57
      * @return bool
58 58
      */
59
-    public function instanceOf(TypeInterface $type): bool
59
+    public function instanceof(TypeInterface $type): bool
60 60
     {
61 61
         return $this->is($type) || $this->parent->instanceOf($type);
62 62
     }
Please login to merge, or discard this patch.
src/Frontend/Type/TypeInterface.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,5 +29,5 @@
 block discarded – undo
29 29
      * @param TypeInterface $type
30 30
      * @return bool
31 31
      */
32
-    public function instanceOf(TypeInterface $type): bool;
32
+    public function instanceof(TypeInterface $type): bool;
33 33
 }
Please login to merge, or discard this patch.
src/Frontend/ValueObject/ValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function toArray(): array
50 50
     {
51
-        return \array_map(function (BaseStruct $value) {
51
+        return \array_map(function(BaseStruct $value) {
52 52
             return $value instanceof ValueObject ? $value->toArray() : $value->getValue();
53 53
         }, $this->value);
54 54
     }
Please login to merge, or discard this patch.
src/Frontend/ValueObject/BaseStruct.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,11 +55,11 @@
 block discarded – undo
55 55
             case 'array':
56 56
                 return json_encode($value);
57 57
             case 'object':
58
-                return \get_class($value) . '#' . \spl_object_hash($value);
58
+                return \get_class($value).'#'.\spl_object_hash($value);
59 59
             case 'NULL':
60 60
                 return 'null';
61 61
             default:
62
-                return (string)$value;
62
+                return (string) $value;
63 63
         }
64 64
     }
65 65
 
Please login to merge, or discard this patch.