Passed
Push — master ( a50b30...2c49a0 )
by 世昌
04:23
created
public/index.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2
-define('SUDA_APP', __DIR__ . '/../app');
3
-define('SUDA_DATA', __DIR__ . '/../data');
4
-define('SUDA_SYSTEM', __DIR__ . '/../suda');
2
+define('SUDA_APP', __DIR__.'/../app');
3
+define('SUDA_DATA', __DIR__.'/../data');
4
+define('SUDA_SYSTEM', __DIR__.'/../suda');
5 5
 define('SUDA_PUBLIC', __DIR__);
6 6
 define('SUDA_DEBUG', true);
7 7
 define('SUDA_DEBUG_LEVEL', 'info');
8 8
 
9
-if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
10
-    require_once __DIR__ . '/../vendor/autoload.php';
9
+if (file_exists(__DIR__.'/../vendor/autoload.php')) {
10
+    require_once __DIR__.'/../vendor/autoload.php';
11 11
 } else {
12 12
     die('please run <b>composer install</b> to install requirements');
13 13
 }
14 14
 
15
-require_once SUDA_SYSTEM . '/loader/main.php';
15
+require_once SUDA_SYSTEM.'/loader/main.php';
16 16
 
17 17
 
Please login to merge, or discard this patch.
suda/src/application/ModuleBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
         if (array_key_exists($version, $this->version[$shortName])) {
215 215
             return $this->version[$shortName][$version];
216 216
         }
217
-        return $hasVersion ? $shortName . ':' . $version : end($this->version[$shortName]);
217
+        return $hasVersion ? $shortName.':'.$version : end($this->version[$shortName]);
218 218
     }
219 219
 
220 220
     protected function getLikeName(string $name): string
Please login to merge, or discard this patch.