Passed
Push — master ( d5f8c0...f0060e )
by Nils
02:40
created
src/Collector/Frameworks/Php/SymfonyCollector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,9 @@
 block discarded – undo
23 23
     {
24 24
         if (!array_key_exists(ApacheServerNameCollector::COLLECTION_IDENTIFIER, $this->inventory)
25 25
             || !is_array($this->inventory[ApacheServerNameCollector::COLLECTION_IDENTIFIER])
26
-        ) return [];
26
+        ) {
27
+            return [];
28
+        }
27 29
 
28 30
         $configs = $this->inventory[ApacheServerNameCollector::COLLECTION_IDENTIFIER];
29 31
 
Please login to merge, or discard this patch.
src/Collector/Application/WebServer/Nginx/NginxConfigurationCollector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,9 @@
 block discarded – undo
37 37
         foreach ($output as $line) {
38 38
             if (preg_match_all('/--with-(\S+)/', $line, $matches)) {
39 39
                 foreach ($matches[1] as $module) {
40
-                    if (str_contains($module, '=')) continue;
40
+                    if (str_contains($module, '=')) {
41
+                        continue;
42
+                    }
41 43
                     $modules[] = $module;
42 44
                 }
43 45
             }
Please login to merge, or discard this patch.
src/Command/CollectCommand.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,9 @@
 block discarded – undo
46 46
                     $collector->setClient($client);
47 47
                 }
48 48
 
49
-                if ($debugMode) $start = time();
49
+                if ($debugMode) {
50
+                    $start = time();
51
+                }
50 52
                 $collected = $collector->collect();
51 53
                 if ($collected) {
52 54
                     $inventory[$collector->getIdentifier()] = $collected;
Please login to merge, or discard this patch.