@@ -184,12 +184,12 @@ discard block |
||
| 184 | 184 | */ |
| 185 | 185 | protected function getConfigurationFactory(string $path): AbstractConsoleConfigFactory |
| 186 | 186 | { |
| 187 | - if (! file_exists($path)) { |
|
| 187 | + if (!file_exists($path)) { |
|
| 188 | 188 | throw new InvalidConfigException(sprintf('Config file "%s" does not exists', $path)); |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | $extension = pathinfo($path, PATHINFO_EXTENSION); |
| 192 | - if (! Validator::key($extension)->validate(static::CONSOLE_CONFIG_FACTORIES)) { |
|
| 192 | + if (!Validator::key($extension)->validate(static::CONSOLE_CONFIG_FACTORIES)) { |
|
| 193 | 193 | throw new InvalidConfigException( |
| 194 | 194 | sprintf('Config file "%s" must have .yml, .json or .php extension', $path) |
| 195 | 195 | ); |
@@ -209,10 +209,10 @@ discard block |
||
| 209 | 209 | */ |
| 210 | 210 | protected function validatePathsExist(InputInterface $input): void |
| 211 | 211 | { |
| 212 | - if (! is_string($input->getArgument('source'))) { |
|
| 212 | + if (!is_string($input->getArgument('source'))) { |
|
| 213 | 213 | throw new Exception('Missing the source path'); |
| 214 | 214 | } |
| 215 | - if (! is_string($input->getArgument('target'))) { |
|
| 215 | + if (!is_string($input->getArgument('target'))) { |
|
| 216 | 216 | throw new Exception('Missing the target path'); |
| 217 | 217 | } |
| 218 | 218 | } |