Completed
Branch 09branch (a008bb)
by Anton
03:16
created
source/Spiral/Core/AbstractCore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             );
41 41
         }
42 42
 
43
-        $benchmark = $this->benchmark('callAction', $controller . '::' . ($action ?? '~default~'));
43
+        $benchmark = $this->benchmark('callAction', $controller.'::'.($action ?? '~default~'));
44 44
 
45 45
         //Making sure that all static functionality works well
46 46
         $iocScope = self::staticContainer($this->container);
Please login to merge, or discard this patch.
source/Spiral/Core/Core.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -130,14 +130,14 @@  discard block
 block discarded – undo
130 130
          * Default directories pattern, you can overwrite any directory you want in index file.
131 131
          */
132 132
         $this->directories = $directories + [
133
-                'framework' => dirname(__DIR__) . '/',
134
-                'public'    => $directories['root'] . 'webroot/',
135
-                'config'    => $directories['application'] . 'config/',
136
-                'views'     => $directories['application'] . 'views/',
137
-                'runtime'   => $directories['application'] . 'runtime/',
138
-                'cache'     => $directories['application'] . 'runtime/cache/',
139
-                'resources' => $directories['application'] . 'resources/',
140
-                'locales'   => $directories['application'] . 'resources/locales/'
133
+                'framework' => dirname(__DIR__).'/',
134
+                'public'    => $directories['root'].'webroot/',
135
+                'config'    => $directories['application'].'config/',
136
+                'views'     => $directories['application'].'views/',
137
+                'runtime'   => $directories['application'].'runtime/',
138
+                'cache'     => $directories['application'].'runtime/cache/',
139
+                'resources' => $directories['application'].'resources/',
140
+                'locales'   => $directories['application'].'resources/locales/'
141 141
             ];
142 142
 
143 143
         //Every application needs timezone to be set, by default we are using UTC
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     public function setDirectory(string $alias, string $path): DirectoriesInterface
198 198
     {
199
-        $this->directories[$alias] = rtrim($path, '/\\') . '/';
199
+        $this->directories[$alias] = rtrim($path, '/\\').'/';
200 200
 
201 201
         return $this;
202 202
     }
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
              * Default spiral environment is based on .env file.
449 449
              */
450 450
             $environment = new Environment(
451
-                $core->directory('root') . '.env',
451
+                $core->directory('root').'.env',
452 452
                 $container->get(FilesInterface::class),
453 453
                 $core->memory
454 454
             );
Please login to merge, or discard this patch.