Passed
Push — master ( 3b7eff...ae6bea )
by Nils
02:43
created
src/Collector/System/Logs/LogrotateCollector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,9 @@
 block discarded – undo
38 38
         // Step 2: Extract managed log file paths from logrotate configs
39 39
         $managedLogs = [];
40 40
         foreach ($logrotateConfs as $confFile) {
41
-            if (!is_readable($confFile)) continue;
41
+            if (!is_readable($confFile)) {
42
+                continue;
43
+            }
42 44
             $lines = file($confFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
43 45
             foreach ($lines as $line) {
44 46
                 // Look for lines that contain a log file path
Please login to merge, or discard this patch.