Test Setup Failed
Push — master ( 2964a3...e7c757 )
by Antonio Carlos
02:18 queued 29s
created
src/Checkers/ServerVars.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $this->requestServerVars();
23 23
 
24
-        collect($this->target->config['vars'])->each(function ($var) {
24
+        collect($this->target->config['vars'])->each(function($var) {
25 25
             $this->checkVar($var);
26 26
         });
27 27
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
         $expected = $var['value'];
65 65
 
66
-        if (! $this->compare($var, $expected, $got)) {
66
+        if (!$this->compare($var, $expected, $got)) {
67 67
             $this->errors[] = "{$var['name']}: expected '{$expected}' but got '{$got}'";
68 68
         }
69 69
     }
Please login to merge, or discard this patch.
src/Checkers/MixManifest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $loaded = $this->loadJson($file);
23 23
 
24 24
         foreach ($loaded as $item => $asset) {
25
-            if (! $this->ignored($item)) {
25
+            if (!$this->ignored($item)) {
26 26
                 $this->checkFilePresence(base_path($this->target->assetsRoot.$asset));
27 27
             }
28 28
         }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function checkFilePresence($fileName)
55 55
     {
56
-        if (! file_exists($fileName)) {
56
+        if (!file_exists($fileName)) {
57 57
             throw new Exception("File doesn't exist: ".$fileName);
58 58
         }
59 59
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function ignored($item)
112 112
     {
113
-        if (! isset($this->target->ignoreItems)) {
113
+        if (!isset($this->target->ignoreItems)) {
114 114
             return false;
115 115
         }
116 116
 
Please login to merge, or discard this patch.
src/Checkers/HealthPanel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             foreach ($resources as $url) {
49 49
                 [$healthy, $message] = $this->checkHealthPanel($url);
50 50
 
51
-                if (! $healthy) {
51
+                if (!$healthy) {
52 52
                     return $this->makeResult(false, $message);
53 53
                 }
54 54
             }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     {
71 71
         $urls = $this->target->urls;
72 72
 
73
-        if (! is_a($urls, Collection::class)) {
73
+        if (!is_a($urls, Collection::class)) {
74 74
             $urls = collect($urls);
75 75
         }
76 76
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         foreach ($resources as $resource) {
112 112
             foreach ($resource['targets'] as $target) {
113
-                if (! $target['result']['healthy']) {
113
+                if (!$target['result']['healthy']) {
114 114
                     $messages[] = "{$resource['name']}: failing.";
115 115
                 }
116 116
             }
Please login to merge, or discard this patch.
src/Checkers/Http.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                     $parameters
49 49
                 );
50 50
 
51
-                if (! $healthy) {
51
+                if (!$healthy) {
52 52
                     return $this->makeResult($healthy, $message);
53 53
                 }
54 54
             }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     private function onStatsCallback()
197 197
     {
198
-        return function (TransferStats $stats) {
198
+        return function(TransferStats $stats) {
199 199
             $this->totalTime = $stats->getTransferTime();
200 200
         };
201 201
     }
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      */
270 270
     protected function getMethod($parameters)
271 271
     {
272
-        if (! isset($parameters['method'])) {
272
+        if (!isset($parameters['method'])) {
273 273
             return 'GET';
274 274
         }
275 275
 
Please login to merge, or discard this patch.