Completed
Push — master ( 6cabb6...9ec20b )
by Basil
27s
created
core/traits/ApplicationTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         
125 125
         // generate from `de` the locale `de_DE` or from `en` `en_EN` only if $lang is 2 chars.
126 126
         if (strlen($lang) == 2) {
127
-            return strtolower($lang) . '_' . strtoupper($lang);
127
+            return strtolower($lang).'_'.strtoupper($lang);
128 128
         }
129 129
         
130 130
         return $lang;
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     public function getWebroot()
187 187
     {
188 188
         if ($this->_webroot === null) {
189
-            $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory);
189
+            $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory);
190 190
         }
191 191
         
192 192
         return $this->_webroot;
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 use Rector\Config\RectorConfig;
7 7
 use Rector\Set\ValueObject\LevelSetList;
8 8
 
9
-return static function (RectorConfig $rectorConfig): void {
9
+return static function(RectorConfig $rectorConfig): void {
10 10
     $rectorConfig->paths([
11
-        __DIR__ . '/src'
11
+        __DIR__.'/src'
12 12
     ]);
13 13
 
14 14
     // register a single rule
Please login to merge, or discard this patch.
core/web/jsonld/DurationValue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
     protected function timeToIso8601Duration($time)
59 59
     {
60 60
         $units = [
61
-            "Y" => 365*24*3600,
62
-            "D" =>     24*3600,
61
+            "Y" => 365 * 24 * 3600,
62
+            "D" =>     24 * 3600,
63 63
             "H" =>        3600,
64 64
             "M" =>          60,
65 65
             "S" =>           1,
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                     $str .= "T";
78 78
                     $istime = true;
79 79
                 }
80
-                $str .= strval($unit) . $unitName;
80
+                $str .= strval($unit).$unitName;
81 81
             }
82 82
         }
83 83
 
Please login to merge, or discard this patch.
core/console/commands/ImportController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $this->_dirs[$folderName][] = [
77 77
                 'ns' => $ns,
78 78
                 'module' => $module,
79
-                'folderPath' => rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR,
79
+                'folderPath' => rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR,
80 80
                 'files' => $this->scanDirectoryFiles($path, $ns, $module),
81 81
             ];
82 82
         }
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
         foreach ($queue as $pos => $object) {
190 190
             $this->verbosePrint("Run importer object '{$object->className()}' on position '{$pos}'.", __METHOD__);
191
-            $this->verbosePrint('Module context id: ' . $object->module->id);
191
+            $this->verbosePrint('Module context id: '.$object->module->id);
192 192
             $object->run();
193 193
         }
194 194
 
@@ -198,10 +198,10 @@  discard block
 block discarded – undo
198 198
             Yii::$app->db->createCommand()->update('admin_user', ['force_reload' => 1])->execute();
199 199
         }
200 200
 
201
-        $this->output('LUYA import command (based on LUYA ' . Boot::VERSION . ')');
201
+        $this->output('LUYA import command (based on LUYA '.Boot::VERSION.')');
202 202
 
203 203
         foreach ($this->getLog() as $section => $value) {
204
-            $this->outputInfo(PHP_EOL . $section . ":");
204
+            $this->outputInfo(PHP_EOL.$section.":");
205 205
             $this->logValueToTable($value);
206 206
         }
207 207
 
Please login to merge, or discard this patch.