Completed
Push — master ( bb00ac...e3b5b4 )
by Kirill
330:24 queued 149:31
created
src/Backend/Validator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @var string
26 26
      */
27
-    public const RAILT_SDL_1_2 = __DIR__ . '/../../resources/rlsdl-1.2.json';
27
+    public const RAILT_SDL_1_2 = __DIR__.'/../../resources/rlsdl-1.2.json';
28 28
 
29 29
     /**
30 30
      * @var string
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $this->validator->reset();
75 75
         $this->validator->validate($json, $this->schema, Constraint::CHECK_MODE_VALIDATE_SCHEMA);
76 76
 
77
-        if (! $this->validator->isValid()) {
77
+        if (!$this->validator->isValid()) {
78 78
             $error = \implode(\PHP_EOL, [
79 79
                 'An internal representation code errors was found: ',
80 80
                 $this->errorsToString($this->validator->getErrors()),
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     private function errorsToString(array $errors): string
94 94
     {
95
-        $applicator = function (array $error): string {
95
+        $applicator = function(array $error): string {
96 96
             if ($error['property']) {
97 97
                 return \sprintf(' - [%s] %s.', $error['property'], $error['message']);
98 98
             }
Please login to merge, or discard this patch.
src/IR/Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     private function bootInheritance(\SplStack $stack, array $children = []): void
80 80
     {
81
-        $push = function (string $type) use ($stack): void {
81
+        $push = function(string $type) use ($stack): void {
82 82
             self::$inheritance[$type]   = \array_values(\iterator_to_array($stack));
83 83
             self::$inheritance[$type][] = static::ROOT_TYPE;
84 84
 
Please login to merge, or discard this patch.