Completed
Branch feature/pre-split (ecea15)
by Anton
03:28
created
source/Spiral/Database/Entities/QueryCompiler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     {
325 325
         $statement = '';
326 326
         foreach ($joinTokens as $table => $join) {
327
-            $statement .= "\n" . $join['type'] . ' JOIN ' . $this->quote($table, true);
327
+            $statement .= "\n".$join['type'].' JOIN '.$this->quote($table, true);
328 328
             $statement .= $this->optional("\n    ON", $this->compileWhere($join['on']));
329 329
         }
330 330
 
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
     {
364 364
         $result = [];
365 365
         foreach ($ordering as $order) {
366
-            $result[] = $this->quote($order[0]) . ' ' . strtoupper($order[1]);
366
+            $result[] = $this->quote($order[0]).' '.strtoupper($order[1]);
367 367
         }
368 368
 
369 369
         return join(', ', $result);
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
             $prefix .= ' ';
526 526
         }
527 527
 
528
-        return $prefix . $expression . $postfix;
528
+        return $prefix.$expression.$postfix;
529 529
     }
530 530
 
531 531
     /**
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
     {
582 582
         if ($context instanceof QueryBuilder) {
583 583
             //Nested queries has to be wrapped with braces
584
-            return '(' . $context->sqlStatement($this) . ')';
584
+            return '('.$context->sqlStatement($this).')';
585 585
         }
586 586
 
587 587
         if ($context instanceof ExpressionInterface) {
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     public function realName()
95 95
     {
96
-        return $this->database->getPrefix() . $this->name;
96
+        return $this->database->getPrefix().$this->name;
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/MySQL/MySQLDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     public function identifier($identifier)
59 59
     {
60
-        return $identifier == '*' ? '*' : '`' . str_replace('`', '``', $identifier) . '`';
60
+        return $identifier == '*' ? '*' : '`'.str_replace('`', '``', $identifier).'`';
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/SQLServer/SQLServerDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      */
85 85
     public function identifier($identifier)
86 86
     {
87
-        return $identifier == '*' ? '*' : '[' . str_replace('[', '[[', $identifier) . ']';
87
+        return $identifier == '*' ? '*' : '['.str_replace('[', '[[', $identifier).']';
88 88
     }
89 89
 
90 90
     /**
Please login to merge, or discard this patch.
source/Spiral/Database/Injections/Parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         if (is_array($this->value)) {
110 110
             //Array were mocked
111
-            return '(' . trim(str_repeat('?, ', count($this->value)), ', ') . ')';
111
+            return '('.trim(str_repeat('?, ', count($this->value)), ', ').')';
112 112
         }
113 113
 
114 114
         return '?';
Please login to merge, or discard this patch.
source/Spiral/Core/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
 
410 410
         if (!$injector instanceof InjectorInterface) {
411 411
             throw new InjectionException(
412
-                "Class '" . get_class($injector) . "' must be an instance of InjectorInterface for '{$reflection->getName()}'"
412
+                "Class '".get_class($injector)."' must be an instance of InjectorInterface for '{$reflection->getName()}'"
413 413
             );
414 414
         }
415 415
 
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
         $class,
434 434
         array $parameters,
435 435
         $context = null,
436
-        \ReflectionClass &$reflection = null
436
+        \ReflectionClass & $reflection = null
437 437
     ) {
438 438
         try {
439 439
             $reflection = new \ReflectionClass($class);
Please login to merge, or discard this patch.
source/Spiral/Migrations/FileRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
         ]);
188 188
 
189 189
         return $this->files->normalizePath(
190
-            $this->config->getDirectory() . FilesInterface::SEPARATOR . $filename
190
+            $this->config->getDirectory().FilesInterface::SEPARATOR.$filename
191 191
         );
192 192
     }
193 193
 }
194 194
\ No newline at end of file
Please login to merge, or discard this patch.
source/Spiral/Migrations/Migrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             }
123 123
 
124 124
             //Executing migration inside global transaction
125
-            $this->execute(function () use ($migration) {
125
+            $this->execute(function() use ($migration) {
126 126
                 $migration->up();
127 127
             });
128 128
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
             }
153 153
 
154 154
             //Executing migration inside global transaction
155
-            $this->execute(function () use ($migration) {
155
+            $this->execute(function() use ($migration) {
156 156
                 $migration->down();
157 157
             });
158 158
 
Please login to merge, or discard this patch.
source/Spiral/Translator/Configs/TranslatorConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      */
104 104
     public function localeDirectory($locale)
105 105
     {
106
-        return $this->config['localesDirectory'] . $locale . '/';
106
+        return $this->config['localesDirectory'].$locale.'/';
107 107
     }
108 108
 
109 109
     /**
Please login to merge, or discard this patch.