Passed
Push — master ( ae6bea...b24e8f )
by Nils
02:39
created
src/Collector/System/Logs/LogrotateCollector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,9 @@
 block discarded – undo
44 44
         // Step 2: Extract managed log paths from logrotate config files
45 45
         $managedLogs = [];
46 46
         foreach ($logrotateConfs as $confFile) {
47
-            if (!is_readable($confFile)) continue;
47
+            if (!is_readable($confFile)) {
48
+                continue;
49
+            }
48 50
             $lines = file($confFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
49 51
             foreach ($lines as $line) {
50 52
                 if (preg_match('#^\s*/[^\s{}]+\.log#', $line, $matches)) {
Please login to merge, or discard this patch.