@@ -18,7 +18,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | } |