@@ -66,7 +66,7 @@ |
||
| 66 | 66 | public function getFullNameFor(string $name): string |
| 67 | 67 | { |
| 68 | 68 | $namespace = $this->getNamespaceString(); |
| 69 | - return $namespace === null? $name : $namespace . '\\' . $name; |
|
| 69 | + return $namespace === null ? $name : $namespace . '\\' . $name; |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | public function invoke(string $sourcePath, string $targetPath, string $name = 'GeneratedTest'): void |
| 78 | 78 | { |
| 79 | - if (! $this->fileValidator->validate($sourcePath)) { |
|
| 79 | + if (!$this->fileValidator->validate($sourcePath)) { |
|
| 80 | 80 | return; |
| 81 | 81 | } |
| 82 | 82 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | { |
| 109 | 109 | $targetPathExists = $this->fileSystem->has($targetPath); |
| 110 | 110 | |
| 111 | - if ($targetPathExists && ! $this->config->hasOverwrite()) { |
|
| 111 | + if ($targetPathExists && !$this->config->hasOverwrite()) { |
|
| 112 | 112 | throw new ExecutorException(sprintf('The target file "%s" already exists.', $targetPath)); |
| 113 | 113 | } |
| 114 | 114 | |