Passed
Push — master ( 3cecb0...6ecb81 )
by Darko
09:14
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.
app/Console/Commands/UpdateNNTmuxGit.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@
 block discarded – undo
42 42
             $this->info('
Please login to merge, or discard this patch.
app/Http/Controllers/InvitationController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $this->setPreferences();
29 29
 
30 30
         $inviteMode = (int) Settings::settingValue('registerstatus') === Settings::REGISTER_STATUS_INVITE;
31
-        if (! $inviteMode) {
31
+        if (!$inviteMode) {
32 32
             // Invitations disabled: show informational message only, no queries.
33 33
             $this->smarty->assign([
34 34
                 'invite_mode' => false,
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         $this->setPreferences();
119 119
 
120 120
         $inviteMode = (int) Settings::settingValue('registerstatus') === Settings::REGISTER_STATUS_INVITE;
121
-        if (! $inviteMode) {
121
+        if (!$inviteMode) {
122 122
             $this->smarty->assign([
123 123
                 'invite_mode' => false,
124 124
                 'csrf_token' => csrf_token(),
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     public function cleanup(): JsonResponse
360 360
     {
361 361
         // Check if user is admin
362
-        if (! auth()->user()->hasRole('admin')) {
362
+        if (!auth()->user()->hasRole('admin')) {
363 363
             abort(403, 'Unauthorized');
364 364
         }
365 365
 
Please login to merge, or discard this patch.