Passed
Push — master ( e7cb27...18ec38 )
by Darko
08:12
created
app/Console/Commands/TmuxUIStart.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -43,10 +43,10 @@  discard block
 block discarded – undo
43 43
             $this->checkSystemResources();
44 44
 
45 45
             // Check if session already exists
46
-            if (! $this->option('force') && $this->isSessionRunning($tmuxSession)) {
46
+            if (!$this->option('force') && $this->isSessionRunning($tmuxSession)) {
47 47
                 $this->error("❌ Tmux session '$tmuxSession' is already running");
48 48
 
49
-                if (! $this->confirm('Would you like to restart the session?')) {
49
+                if (!$this->confirm('Would you like to restart the session?')) {
50 50
                     return Command::FAILURE;
51 51
                 }
52 52
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     {
80 80
         $recommendations = UpdatePerformanceHelper::checkSystemResources();
81 81
 
82
-        if (! empty($recommendations)) {
82
+        if (!empty($recommendations)) {
83 83
             $this->warn('⚠️ System resource information:');
84 84
             foreach ($recommendations as $recommendation) {
85 85
                 $this->line("  • $recommendation");
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
         $runScript = base_path('misc/update/tmux/run.php');
109 109
 
110
-        if (! file_exists($runScript)) {
110
+        if (!file_exists($runScript)) {
111 111
             throw new \Exception("Tmux run script not found: $runScript");
112 112
         }
113 113
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             $this->info('
Please login to merge, or discard this patch.