Passed
Push — master ( cceb62...73295c )
by Julien
02:03
created
src/Command/Exception/PayloadException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,6 @@
 block discarded – undo
10 10
      */
11 11
     public static function emptyPayload(string $event): PayloadException
12 12
     {
13
-        return new self('payload missing for the event : ' . $event);
13
+        return new self('payload missing for the event : '.$event);
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
src/aent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
  */
15 15
 
16
-require __DIR__ . '/../vendor/autoload.php';
16
+require __DIR__.'/../vendor/autoload.php';
17 17
 
18 18
 use TheAentMachine\AentApplication;
19 19
 use TheAentMachine\AentDockerCompose\Command\AddEventCommand;
Please login to merge, or discard this patch.
src/DockerCompose/DockerComposeService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,20 +25,20 @@
 block discarded – undo
25 25
      */
26 26
     public static function dockerComposeServiceSerialize(Service $service, string $version = self::VERSION): array
27 27
     {
28
-        $portMap = function (array $port): string {
29
-            return $port['source'] . ':' . $port['target'];
28
+        $portMap = function(array $port): string {
29
+            return $port['source'].':'.$port['target'];
30 30
         };
31
-        $labelMap = function (array $label): string {
31
+        $labelMap = function(array $label): string {
32 32
             return $label['value'];
33 33
         };
34
-        $envMap = function (EnvVariable $e): string {
34
+        $envMap = function(EnvVariable $e): string {
35 35
             return $e->getValue();
36 36
         };
37 37
         /**
38 38
          * @param NamedVolume|BindVolume|TmpfsVolume $v
39 39
          * @return array
40 40
          */
41
-        $volumeMap = function ($v): array {
41
+        $volumeMap = function($v): array {
42 42
             $array = [
43 43
                 'type' => $v->getType(),
44 44
                 'source' => $v->getSource(),
Please login to merge, or discard this patch.
src/Command/NewServiceEventCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         }
40 40
 
41 41
         $fileName = Manifest::mustGetMetadata(CommonMetadata::DOCKER_COMPOSE_FILENAME_KEY);
42
-        $dockerComposePath = Pheromone::getContainerProjectDirectory() . '/' . $fileName;
42
+        $dockerComposePath = Pheromone::getContainerProjectDirectory().'/'.$fileName;
43 43
 
44 44
         $this->getAentHelper()->title($fileName);
45 45
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $this->log->debug(\GuzzleHttp\json_encode($formattedPayload, JSON_PRETTY_PRINT));
62 62
 
63 63
         // docker-compose
64
-        $dockerComposePath = Pheromone::getContainerProjectDirectory() . '/' . $fileName;
64
+        $dockerComposePath = Pheromone::getContainerProjectDirectory().'/'.$fileName;
65 65
         DockerComposeService::mergeContentInDockerComposeFile($formattedPayload, $dockerComposePath, true);
66 66
 
67 67
         $this->output->writeln("Service <info>$serviceName</info> has been successfully added in <info>$fileName</info>!");
Please login to merge, or discard this patch.