Passed
Push — master ( f283f5...2c6f24 )
by Nils
04:41
created
src/Check/System/NumberProcessesCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         exec($command, $output);
29 29
 
30
-        $count = (int)$output[0] - 2;
30
+        $count = (int) $output[0] - 2;
31 31
 
32 32
         if ($count > $this->maxNumber) {
33 33
             $result = new MetricAwareResult(Result::STATUS_FAIL, 'Too many processes found "' . $this->processName . '" (current: ' . $count . ', expected < ' . $this->maxNumber . ').');
Please login to merge, or discard this patch.
src/Result/Format/koality/KoalityFormat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                 $details[$identifier]["observedValue"] = $result->getMetricValue();
65 65
                 $details[$identifier]["observedUnit"] = $result->getMetricUnit();
66 66
 
67
-                if($result->getMetricType()) {
67
+                if ($result->getMetricType()) {
68 68
                     $details[$identifier]['metricType'] = $result->getMetricType();
69 69
                 }
70 70
 
Please login to merge, or discard this patch.