Completed
Push — master ( f6f8bd...61d974 )
by Kirill
02:08
created
src/Reader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $path = \trim($token->value(1), " \t\n\r\0\x0B\"'");
106 106
 
107 107
         foreach (self::FILE_EXTENSIONS as $extension) {
108
-            $file = \dirname($from->getPathname()) . '/' . $path . $extension;
108
+            $file = \dirname($from->getPathname()).'/'.$path.$extension;
109 109
 
110 110
             if (\is_file($file)) {
111 111
                 return File::fromPathname($file);
Please login to merge, or discard this patch.
src/Reader/Resolver/RuleResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
             return;
55 55
         }
56 56
 
57
-        if (! \array_key_exists($this->current, $this->rules)) {
57
+        if (!\array_key_exists($this->current, $this->rules)) {
58 58
             $this->rules[$this->current] = [];
59 59
         }
60 60
 
61
-        if (! \array_key_exists($this->current, $this->files)) {
61
+        if (!\array_key_exists($this->current, $this->files)) {
62 62
             $this->files[$this->current] = $readable;
63 63
         }
64 64
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         }
107 107
 
108 108
         if ($delegate) {
109
-            if (! \class_exists($delegate)) {
109
+            if (!\class_exists($delegate)) {
110 110
                 $error = \sprintf('Could not found class "%s" to delegate rule "%s"', $delegate, $name);
111 111
                 throw (new GrammarException($error))->throwsIn($readable, $token->offset());
112 112
             }
Please login to merge, or discard this patch.
src/Reader/Resolver/PragmaResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      */
83 83
     private function set(string $group, string $name, string $value): void
84 84
     {
85
-        if (! \array_key_exists($group, $this->configs)) {
85
+        if (!\array_key_exists($group, $this->configs)) {
86 86
             $this->configs[$group] = [];
87 87
         }
88 88
 
Please login to merge, or discard this patch.
src/Reader/Resolver/TokenResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $this->tokens[$token->value(1)] = $token->value(2);
37 37
 
38 38
         if ($token->value(3)) {
39
-            $this->groups[$token->value(1)] = (int)$token->value(3);
39
+            $this->groups[$token->value(1)] = (int) $token->value(3);
40 40
         }
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
src/Reader/Resolver/PragmaResolver/ConfigResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function __construct(string $prefix, array $allowed)
33 33
     {
34
-        $this->prefix = \trim($prefix, '.') . '.';
34
+        $this->prefix = \trim($prefix, '.').'.';
35 35
         $this->allowed = $allowed;
36 36
     }
37 37
 
Please login to merge, or discard this patch.