@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct() |
| 44 | 44 | { |
| 45 | - $this->validatorSchema = json_decode((string)file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false); |
|
| 45 | + $this->validatorSchema = json_decode((string) file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function jsonSerialize(): array |
| 90 | 90 | { |
| 91 | - $jsonSerializeMap = function (\JsonSerializable $obj): array { |
|
| 91 | + $jsonSerializeMap = function(\JsonSerializable $obj): array { |
|
| 92 | 92 | return $obj->jsonSerialize(); |
| 93 | 93 | }; |
| 94 | 94 | |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | $this->dockerfileCommands[] = 'FROM ' . $this->image; |
| 129 | 129 | foreach ($this->environment as $key => $env) { |
| 130 | 130 | if ($env->getType() === EnvVariableTypeEnum::IMAGE_ENV_VARIABLE) { |
| 131 | - $this->dockerfileCommands[] = "ENV $key" . '='. $env->getValue(); |
|
| 131 | + $this->dockerfileCommands[] = "ENV $key" . '=' . $env->getValue(); |
|
| 132 | 132 | } |
| 133 | 133 | } |
| 134 | 134 | foreach ($this->volumes as $volume) { |