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