Completed
Push — master ( 332a4c...198c54 )
by Kirill
02:13
created
src/helpers.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  */
8 8
 declare(strict_types=1);
9 9
 
10
-if (! \function_exists('\\sdl')) {
10
+if (!\function_exists('\\sdl')) {
11 11
     /**
12 12
      * @param string $fileOrSources
13 13
      * @param bool $filename
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 }
26 26
 
27 27
 
28
-if (! function_exists('trait_uses_recursive')) {
28
+if (!function_exists('trait_uses_recursive')) {
29 29
     /**
30 30
      * Returns all traits used by a trait and its traits.
31 31
      *
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 }
46 46
 
47 47
 
48
-if (! function_exists('class_uses_recursive')) {
48
+if (!function_exists('class_uses_recursive')) {
49 49
     /**
50 50
      * Returns all traits used by a class, its parent classes and trait of their traits.
51 51
      *
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 }
70 70
 
71 71
 
72
-if (! function_exists('class_basename')) {
72
+if (!function_exists('class_basename')) {
73 73
     /**
74 74
      * Get the class "basename" of the given object / class.
75 75
      *
Please login to merge, or discard this patch.
src/Console/SDLCompileCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @var string
23 23
      */
24
-    private const SCHEMA_SDL_GRAMMAR = __DIR__ . '/../../resources/grammar.pp2';
24
+    private const SCHEMA_SDL_GRAMMAR = __DIR__.'/../../resources/grammar.pp2';
25 25
 
26 26
     /**
27 27
      * @var string
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         Compiler::load(File::fromPathname(self::SCHEMA_SDL_GRAMMAR))
44 44
             ->setClassName('Parser')
45 45
             ->setNamespace('Railt\\SDL\\Compiler')
46
-            ->saveTo(__DIR__ . '/../Compiler');
46
+            ->saveTo(__DIR__.'/../Compiler');
47 47
 
48 48
         $this->info('OK');
49 49
     }
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/InputProcessor.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
         /** @var InputDefinition $input */
30 30
         $input = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $input) {
32
+        $this->immediately(function() use ($ast, $input) {
33 33
             $input->withOffset($ast->getOffset());
34 34
             $input->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/EnumProcessor.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
         /** @var EnumDefinition $enum */
30 30
         $enum = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $enum) {
32
+        $this->immediately(function() use ($ast, $enum) {
33 33
             $enum->withOffset($ast->getOffset());
34 34
             $enum->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/DirectiveProcessor.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
         /** @var DirectiveDefinition $directive */
30 30
         $directive = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $directive) {
32
+        $this->immediately(function() use ($ast, $directive) {
33 33
             $directive->withOffset($ast->getOffset());
34 34
             $directive->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ScalarProcessor.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
         /** @var ScalarDefinition $scalar */
30 30
         $scalar = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $scalar) {
32
+        $this->immediately(function() use ($ast, $scalar) {
33 33
             $scalar->withOffset($ast->getOffset());
34 34
             $scalar->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ObjectProcessor.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
         /** @var ObjectDefinition $object */
31 31
         $object = $ast->getTypeDefinition();
32 32
 
33
-        $this->immediately(function () use ($ast, $object) {
33
+        $this->immediately(function() use ($ast, $object) {
34 34
             $object->withOffset($ast->getOffset());
35 35
             $object->withDescription($ast->getDescription());
36 36
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/InputUnionProcessor.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
         /** @var InputUnionDefinition $inputUnion */
30 30
         $inputUnion = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $inputUnion) {
32
+        $this->immediately(function() use ($ast, $inputUnion) {
33 33
             $inputUnion->withOffset($ast->getOffset());
34 34
             $inputUnion->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/SchemaProcessor.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
         /** @var SchemaDefinition $schema */
30 30
         $schema = $ast->getTypeDefinition();
31 31
 
32
-        $this->immediately(function () use ($ast, $schema) {
32
+        $this->immediately(function() use ($ast, $schema) {
33 33
             $schema->withOffset($ast->getOffset());
34 34
             $schema->withDescription($ast->getDescription());
35 35
         });
Please login to merge, or discard this patch.