Passed
Push — master ( f81447...893c93 )
by Darko
10:12
created
app/Console/Commands/UpdateNNTmux.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -87,16 +87,16 @@  discard block
 block discarded – undo
87 87
     {
88 88
         $steps = 3; // prepare, finalize, cleanup
89 89
 
90
-        if (! $this->option('skip-git')) {
90
+        if (!$this->option('skip-git')) {
91 91
             $steps++;
92 92
         }
93
-        if (! $this->option('skip-composer')) {
93
+        if (!$this->option('skip-composer')) {
94 94
             $steps++;
95 95
         }
96
-        if (! $this->option('skip-npm')) {
96
+        if (!$this->option('skip-npm')) {
97 97
             $steps += 2;
98 98
         } // install + build
99
-        if (! $this->option('skip-db')) {
99
+        if (!$this->option('skip-db')) {
100 100
             $steps++;
101 101
         }
102 102
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
         // Check if app is in maintenance mode
116 116
         $this->wasInMaintenance = App::isDownForMaintenance();
117
-        if (! $this->wasInMaintenance) {
117
+        if (!$this->wasInMaintenance) {
118 118
             $this->call('down', [
119 119
                 '--render' => 'errors::maintenance',
120 120
                 '--retry' => 120,
@@ -138,22 +138,22 @@  discard block
 block discarded – undo
138 138
     private function executeUpdateSteps(): void
139 139
     {
140 140
         // Git operations
141
-        if (! $this->option('skip-git')) {
141
+        if (!$this->option('skip-git')) {
142 142
             $this->performGitUpdate();
143 143
         }
144 144
 
145 145
         // Composer operations
146
-        if (! $this->option('skip-composer')) {
146
+        if (!$this->option('skip-composer')) {
147 147
             $this->performComposerUpdate();
148 148
         }
149 149
 
150 150
         // Database migrations
151
-        if (! $this->option('skip-db')) {
151
+        if (!$this->option('skip-db')) {
152 152
             $this->performDatabaseUpdate();
153 153
         }
154 154
 
155 155
         // NPM operations
156
-        if (! $this->option('skip-npm')) {
156
+        if (!$this->option('skip-npm')) {
157 157
             $this->performNpmOperations();
158 158
         }
159 159
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     {
217 217
         // Check if package.json has changed
218 218
         $packageLockExists = File::exists(base_path('package-lock.json'));
219
-        $shouldInstall = ! $packageLockExists || $this->option('force');
219
+        $shouldInstall = !$packageLockExists || $this->option('force');
220 220
 
221 221
         if ($shouldInstall) {
222 222
             $this->info('
Please login to merge, or discard this patch.
app/Console/Commands/TmuxMonitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             $this->tmuxOutput = new TmuxOutput;
65 65
 
66 66
             // Verify session exists
67
-            if (! $this->sessionManager->sessionExists()) {
67
+            if (!$this->sessionManager->sessionExists()) {
68 68
                 $this->error("❌ Tmux session '{$sessionName}' does not exist.");
69 69
                 $this->info("
Please login to merge, or discard this patch.