x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.
Test Failed
Push — master ( 7e2e9c...9fb91d )
by Antonio Carlos
03:43 queued 01:54
created
src/Commands.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $exitCode = self::EXIT_CODES[result::OK];
83 83
 
84 84
         $rows = $this->getTargetsFomResources($this->healthService->health())
85
-            ->map(function ($target) use (&$exitCode) {
85
+            ->map(function($target) use (&$exitCode) {
86 86
                 // Handles exit codes based on the result's status.
87 87
                 $thisStatus = $target->result->getStatus();
88 88
                 $thisExitCode = self::EXIT_CODES[$thisStatus];
@@ -122,9 +122,9 @@  discard block
 block discarded – undo
122 122
 
123 123
         $exitCode = self::EXIT_CODES[result::OK];
124 124
 
125
-        $errors = $this->getTargetsFomResources($checker()->filter(function ($resource) {
126
-            return ! $resource->isGlobal;
127
-        }))->reduce(function ($carry, $target) use (&$exitCode) {
125
+        $errors = $this->getTargetsFomResources($checker()->filter(function($resource) {
126
+            return !$resource->isGlobal;
127
+        }))->reduce(function($carry, $target) use (&$exitCode) {
128 128
             // Handles exit codes based on the result's status.
129 129
             $thisStatus = $target->result->getStatus();
130 130
             $thisExitCode = self::EXIT_CODES[$thisStatus];
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      */
213 213
     protected function getResourceTotalTime($resource)
214 214
     {
215
-        if (! method_exists($resource->checker, 'getTotalTime')) {
215
+        if (!method_exists($resource->checker, 'getTotalTime')) {
216 216
             dd($resource);
217 217
         }
218 218
 
Please login to merge, or discard this patch.