@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | public function execute(string $sourcePath, string $targetPath): void |
| 76 | 76 | { |
| 77 | - if (! $this->fileValidator->validate($sourcePath)) { |
|
| 77 | + if (!$this->fileValidator->validate($sourcePath)) { |
|
| 78 | 78 | return; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | { |
| 102 | 102 | $targetPathExists = $this->fileSystem->has($targetPath); |
| 103 | 103 | |
| 104 | - if ($targetPathExists && ! $this->config->hasOverwrite()) { |
|
| 104 | + if ($targetPathExists && !$this->config->hasOverwrite()) { |
|
| 105 | 105 | throw new ExecutorException(sprintf('The target file "%s" already exists.', $targetPath)); |
| 106 | 106 | } |
| 107 | 107 | |