Passed
Push — master ( f406b6...fec75c )
by Nils
01:54
created
src/Check/Files/Content/NumberOfLinesCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
         exec($command, $output, $return);
37 37
 
38
-        $numberLines = (int)$output[0];
38
+        $numberLines = (int) $output[0];
39 39
 
40 40
         if ($this->relation === self::RELATION_MAX) {
41 41
             if ($numberLines > $this->limit) {
Please login to merge, or discard this patch.
examples/resourceHttpStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 // http resource status check
8 8
 $httpStatusCheck = new \Leankoala\HealthFoundation\Check\Resource\Http\StatusCodeCheck();
9
-$httpStatusCheck->init('https://about.google/intl/com/',200); // PASS
9
+$httpStatusCheck->init('https://about.google/intl/com/', 200); // PASS
10 10
 // $httpStatusCheck->init('https://about.google/intl/com/',404); // WARN
11 11
 // $httpStatusCheck->init('https://www.there-is-no-domain-connected-'.time().'.com/index.html',200); // FAIL
12 12
 $foundation->registerCheck($httpStatusCheck);
Please login to merge, or discard this patch.
src/Check/Resource/Http/StatusCodeCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function init($destination, $expectedHttpStatus = 200)
24 24
     {
25 25
         $this->destination = $destination;
26
-        $this->expectedHttpStatus = (int)$expectedHttpStatus;
26
+        $this->expectedHttpStatus = (int) $expectedHttpStatus;
27 27
     }
28 28
 
29 29
     public function setHttpClient(Client $client)
Please login to merge, or discard this patch.
src/Check/System/NumberProcessesCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
         exec($command, $output);
28 28
 
29
-        $count = (int)$output[0];
29
+        $count = (int) $output[0];
30 30
 
31 31
         if ($count > $this->maxNumber) {
32 32
             return new Result(Result::STATUS_FAIL, 'Too many processes found "' . $this->processName . '". Current: ' . $count . ' / expected < ' . $this->maxNumber . '.');
Please login to merge, or discard this patch.