Test Failed
Push — master ( 9c7d79...616efc )
by Antonio Carlos
09:18 queued 04:37
created
tests/PhpUnit/Service/ServiceTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     private function getResources($force = false)
20 20
     {
21
-        if ($force || ! $this->resources) {
21
+        if ($force || !$this->resources) {
22 22
             $this->resources = $this->service->checkResources($force);
23 23
         }
24 24
 
@@ -104,12 +104,12 @@  discard block
 block discarded – undo
104 104
 
105 105
     public function assertCheckedResources($resources)
106 106
     {
107
-        $healthy = $resources->filter(function ($resource) {
107
+        $healthy = $resources->filter(function($resource) {
108 108
             return $resource->isHealthy();
109 109
         })->keys();
110 110
 
111
-        $failing = $resources->filter(function ($resource) {
112
-            return ! $resource->isHealthy();
111
+        $failing = $resources->filter(function($resource) {
112
+            return !$resource->isHealthy();
113 113
         })->keys();
114 114
 
115 115
         $this->assertGreaterThanOrEqual(self::RESOURCES_HEALTHY_EVERYWHERE, $failing->count());
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     {
139 139
         $this->assertEquals(
140 140
             collect(static::ALL_RESOURCES)
141
-                ->map(function ($value) {
141
+                ->map(function($value) {
142 142
                     return strtolower($value);
143 143
                 })
144 144
                 ->sort()
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 ->toArray(),
147 147
             $this->getResources()
148 148
                 ->keys()
149
-                ->map(function ($value) {
149
+                ->map(function($value) {
150 150
                     return strtolower($value);
151 151
                 })
152 152
                 ->sort()
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
             (new Commands($this->service))->$command();
164 164
         }
165 165
 
166
-        $this->assertFalse(! true);
166
+        $this->assertFalse(!true);
167 167
     }
168 168
 
169 169
     public function testController()
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         }
214 214
 
215 215
         foreach ($subset as $value) {
216
-            if (! $array->contains($value)) {
216
+            if (!$array->contains($value)) {
217 217
                 return false;
218 218
             }
219 219
         }
Please login to merge, or discard this patch.