Completed
Pull Request — master (#1955)
by
unknown
08:18
created
src/Commands/UpdatePhpunitCoverage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.