@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public function handle(): int |
30 | 30 | { |
31 | 31 | $appFolder = config('modules.paths.app_folder', 'app/'); |
32 | - $appFolder = rtrim($appFolder, '/') . '/'; |
|
32 | + $appFolder = rtrim($appFolder, '/').'/'; |
|
33 | 33 | $phpunitXmlPath = base_path('phpunit.xml'); |
34 | 34 | $modulesStatusPath = base_path('modules_statuses.json'); |
35 | 35 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $enabledModules = json_decode(file_get_contents($modulesStatusPath), true); |
47 | 47 | |
48 | 48 | if (json_last_error() !== JSON_ERROR_NONE) { |
49 | - $this->error("Error decoding JSON from {$modulesStatusPath}: " . json_last_error_msg()); |
|
49 | + $this->error("Error decoding JSON from {$modulesStatusPath}: ".json_last_error_msg()); |
|
50 | 50 | return 98; |
51 | 51 | } |
52 | 52 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | foreach ($enabledModules as $module => $status) { |
57 | 57 | if ($status) { // Only add enabled modules |
58 | - $moduleDir = $modulesPath . $module . '/' . $appFolder; |
|
58 | + $moduleDir = $modulesPath.$module.'/'.$appFolder; |
|
59 | 59 | if (is_dir($moduleDir)) { |
60 | 60 | $moduleDirs[] = $moduleDir; |
61 | 61 | } |