Passed
Push — master ( 57b88f...5a4f78 )
by David
03:01
created
src/Registry/RegistryClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     public function getImageTagsOnDockerHub(string $image): array
16 16
     {
17 17
         $client = new Client();
18
-        $res = $client->request('GET', 'https://registry.hub.docker.com/v1/repositories/'.$image.'/tags');
18
+        $res = $client->request('GET', 'https://registry.hub.docker.com/v1/repositories/' . $image . '/tags');
19 19
 
20 20
         $response = \GuzzleHttp\json_decode($res->getBody(), true);
21 21
 
22
-        $tags = \array_map(function (array $item) {
22
+        $tags = \array_map(function(array $item) {
23 23
             return $item['name'];
24 24
         }, $response);
25 25
 
Please login to merge, or discard this patch.
src/EventCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
      */
59 59
     private function getAllEventNames(): array
60 60
     {
61
-        return array_map(function (EventCommand $event) {
61
+        return array_map(function(EventCommand $event) {
62 62
             return $event->getEventName();
63
-        }, \array_filter($this->getApplication()->all(), function (Command $command) {
63
+        }, \array_filter($this->getApplication()->all(), function(Command $command) {
64 64
             return $command instanceof EventCommand;
65 65
         }));
66 66
     }
Please login to merge, or discard this patch.