Completed
Push — health-check ( 3281b4...ded797 )
by
unknown
49s
created
src/SWP/Bundle/CoreBundle/Service/HealthCheck/Checker/SupervisorChecker.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 ],
69 69
                 'total_processes' => 1,
70 70
                 'running_processes' => 0, // Unknown without direct access
71
-                'failed_processes' => 0,  // Unknown without direct access
71
+                'failed_processes' => 0, // Unknown without direct access
72 72
             ];
73 73
 
74 74
             // Consider it healthy if supervisor is reachable (process monitoring available)
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,9 @@
 block discarded – undo
183 183
         $lines = explode("\n", trim($output));
184 184
         
185 185
         foreach ($lines as $line) {
186
-            if (trim($line) === '') continue;
186
+            if (trim($line) === '') {
187
+                continue;
188
+            }
187 189
             
188 190
             // Parse supervisorctl status output format: "process_name STATUS description"
189 191
             if (preg_match('/^(\S+)\s+(\S+)\s+(.*)$/', trim($line), $matches)) {
Please login to merge, or discard this patch.