Passed
Pull Request — master (#103)
by David
02:17
created
src/Docker/ImageService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $config = $this->docker->imageInspect($imageName)->getConfig();
68 68
         }
69 69
         if ($config === null) {
70
-            throw new AenthillException('Cannot inspect container '.$imageName.'. Missing config key.');
70
+            throw new AenthillException('Cannot inspect container ' . $imageName . '. Missing config key.');
71 71
         }
72 72
         return $config;
73 73
     }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             'fromImage' => $imageName
89 89
         ]);
90 90
 
91
-        $result->onFrame(function (CreateImageInfo $frame) {
91
+        $result->onFrame(function(CreateImageInfo $frame) {
92 92
             $this->logger->info($frame->getStatus());
93 93
         });
94 94
         $result->wait();
Please login to merge, or discard this patch.
tests/Docker/ImageServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         try {
17 17
             $imageService->rmi('busybox:1.29.2');
18
-        } catch(ImageDeleteNotFoundException $e) {
18
+        } catch (ImageDeleteNotFoundException $e) {
19 19
             // Try to delete. If this fails, it's ok.
20 20
         }
21 21
 
Please login to merge, or discard this patch.