Completed
Branch 09branch (31301e)
by Anton
06:38
created
source/Spiral/Views/Processors/EnvironmentProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         string $namespace,
45 45
         string $name
46 46
     ): string {
47
-        return preg_replace_callback($this->pattern, function ($matches) use ($environment) {
47
+        return preg_replace_callback($this->pattern, function($matches) use ($environment) {
48 48
             return $environment->getValue($matches[1]);
49 49
         }, $source);
50 50
     }
Please login to merge, or discard this patch.
source/Spiral/Views/Processors/ExpressionsProcessors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         }
98 98
 
99 99
         //We need unique temporary variable
100
-        $tempVariable = 'evaluator_' . str_replace('.', '_', uniqid('', true));
100
+        $tempVariable = 'evaluator_'.str_replace('.', '_', uniqid('', true));
101 101
 
102 102
         $lines = [
103 103
             $this->extractCode($tempVariable, $matches[3]),
Please login to merge, or discard this patch.
source/Spiral/Translator/Indexer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
         }
213 213
 
214 214
         $strings = [];
215
-        array_walk_recursive($target, function ($value) use (&$strings) {
215
+        array_walk_recursive($target, function($value) use (&$strings) {
216 216
             if (is_string($value) && $this->hasBraces($value)) {
217 217
                 $strings[] = $this->removeBraces($value);
218 218
             }
Please login to merge, or discard this patch.
source/Spiral/Commands/Views/CompileCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
             foreach ($locator->getViews($namespace) as $view => $engine) {
54 54
                 if ($this->isVerbosity()) {
55
-                    $this->write($formatter->formatSection("{$engine}", $view . ", ", 'fg=cyan'));
55
+                    $this->write($formatter->formatSection("{$engine}", $view.", ", 'fg=cyan'));
56 56
                 }
57 57
 
58 58
                 $start = microtime(true);
Please login to merge, or discard this patch.
source/Spiral/Commands/Translator/DumpCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         if ($this->isVerbosity() && !empty($messageCatalogue->getDomains())) {
80 80
             $this->writeln(
81
-                "<info>Dumping domain(s):</info> " . join(',', $messageCatalogue->getDomains())
81
+                "<info>Dumping domain(s):</info> ".join(',', $messageCatalogue->getDomains())
82 82
             );
83 83
         }
84 84
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             'xliff_version'  => '2.0'
103 103
         ]);
104 104
 
105
-        $this->writeln("Dump successfully completed using <info>" . get_class($dumper) . "</info>");
106
-        $this->writeln("Output directory: <comment>" . realpath($this->argument('path')) . "</comment>");
105
+        $this->writeln("Dump successfully completed using <info>".get_class($dumper)."</info>");
106
+        $this->writeln("Output directory: <comment>".realpath($this->argument('path'))."</comment>");
107 107
     }
108 108
 }
Please login to merge, or discard this patch.
source/Spiral/Commands/Migrations/StatusCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
                 $state->getTimeCreated()->format('Y-m-d H:i:s'),
61 61
                 $state->getStatus() == State::STATUS_PENDING
62 62
                     ? self::PENDING
63
-                    : '<info>' . $state->getTimeExecuted()->format('Y-m-d H:i:s') . '</info>'
63
+                    : '<info>'.$state->getTimeExecuted()->format('Y-m-d H:i:s').'</info>'
64 64
             ]);
65 65
         }
66 66
 
Please login to merge, or discard this patch.
source/Spiral/Modules/Registrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      */
125 125
     protected function configFilename(string $config): string
126 126
     {
127
-        $filename = $this->directories->directory('config') . $config . ConfigFactory::EXTENSION;
127
+        $filename = $this->directories->directory('config').$config.ConfigFactory::EXTENSION;
128 128
 
129 129
         if (!$this->files->exists($filename)) {
130 130
             throw new RegistratorException("Unable to find filename for config '{$config}'");
Please login to merge, or discard this patch.
source/Spiral/Modules/ConfigInjector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             $tempFilename = tempnam(sys_get_temp_dir(), 'spl');
104 104
             file_put_contents($tempFilename, $this->render());
105 105
 
106
-            $process = new Process(PHP_BINARY . " -l {$tempFilename}");
106
+            $process = new Process(PHP_BINARY." -l {$tempFilename}");
107 107
 
108 108
             return $process->run() === 0;
109 109
         } finally {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 
210 210
         $result = [];
211 211
         foreach ($lines as $line) {
212
-            $result[] = $indent . $line;
212
+            $result[] = $indent.$line;
213 213
         }
214 214
 
215 215
         if (!empty($line) && $line[strlen($line) - 1] != ',') {
Please login to merge, or discard this patch.
source/Spiral/Modules/Publisher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
         foreach ($finder->getIterator() as $file) {
128 128
             $this->publish(
129 129
                 (string)$file,
130
-                $destination . '/' . $file->getRelativePathname(),
130
+                $destination.'/'.$file->getRelativePathname(),
131 131
                 $merge,
132 132
                 $mode
133 133
             );
Please login to merge, or discard this patch.