Passed
Branch master (d28503)
by Kirill
32:55
created
src/Exceptions/BaseSchemaException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Exceptions;
11 11
 
Please login to merge, or discard this patch.
src/Exceptions/CompilerException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Exceptions;
11 11
 
Please login to merge, or discard this patch.
src/Parser/SchemaParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the
6 6
  * LICENSE file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Parser;
11 11
 
Please login to merge, or discard this patch.
src/Parser/SchemaLexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the
6 6
  * LICENSE file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Parser;
11 11
 
Please login to merge, or discard this patch.
src/Parser/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Parser;
11 11
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  */
22 22
 class Factory
23 23
 {
24
-    public const GRAMMAR_FILE = __DIR__ . '/../../resources/grammar/sdl.pp';
24
+    public const GRAMMAR_FILE = __DIR__.'/../../resources/grammar/sdl.pp';
25 25
 
26 26
     /**
27 27
      * @var ParserInterface|null
Please login to merge, or discard this patch.
src/Schema/CompilerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Schema;
11 11
 
Please login to merge, or discard this patch.
src/Schema/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Schema;
11 11
 
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL;
11 11
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $this->load($document);
148 148
 
149
-        $build = function (Definition $definition): void {
149
+        $build = function(Definition $definition): void {
150 150
             $this->stack->push($definition);
151 151
 
152 152
             if ($definition instanceof Compilable) {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 $this->typeCoercion->apply($definition);
158 158
             }
159 159
 
160
-            if (! ($definition instanceof StandardType)) {
160
+            if (!($definition instanceof StandardType)) {
161 161
                 $this->typeValidator->group(Definitions::class)->validate($definition);
162 162
             }
163 163
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      */
229 229
     private function onCompile(): \Closure
230 230
     {
231
-        return function (Readable $readable): Document {
231
+        return function(Readable $readable): Document {
232 232
             $ast = $this->parser->parse($readable);
233 233
 
234 234
             return $this->complete(new DocumentBuilder($ast, $readable, $this));
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     public function getPersister(): Storage
269 269
     {
270 270
         \trigger_error(
271
-            __METHOD__ . ' was renamed to getStorage and will be deleted on next release',
271
+            __METHOD__.' was renamed to getStorage and will be deleted on next release',
272 272
             \E_USER_DEPRECATED
273 273
         );
274 274
 
Please login to merge, or discard this patch.