@@ -155,13 +155,13 @@ discard block |
||
155 | 155 | $this->prepare($input); |
156 | 156 | |
157 | 157 | if (file_exists($this->twineArchivePath) !== true) { |
158 | - $this->output->writeln("<error>Parameter 'twine-archive-file': File '".$this->twineArchivePath."' doesn't exist.</error>"); |
|
158 | + $this->output->writeln("<error>Parameter 'twine-archive-file': File '" . $this->twineArchivePath . "' doesn't exist.</error>"); |
|
159 | 159 | |
160 | 160 | return -1; |
161 | 161 | } |
162 | 162 | |
163 | 163 | if (is_readable($this->twineArchivePath) !== true) { |
164 | - $this->output->writeln("<error>Parameter 'twine-archive-file': File '".$this->twineArchivePath."' isn't readable.</error>"); |
|
164 | + $this->output->writeln("<error>Parameter 'twine-archive-file': File '" . $this->twineArchivePath . "' isn't readable.</error>"); |
|
165 | 165 | |
166 | 166 | return -1; |
167 | 167 | } |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | |
181 | 181 | $this->importfileRepository->save($importfile); |
182 | 182 | } catch (\Exception $ex) { |
183 | - $output->writeln('<error>'.$ex->getMessage().'</error>'); |
|
183 | + $output->writeln('<error>' . $ex->getMessage() . '</error>'); |
|
184 | 184 | |
185 | 185 | $this->importTwine->parserFree(); |
186 | 186 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | public function testCheckWithLeadingEmptySpaces(): void |
63 | 63 | { |
64 | 64 | $this->fileHandlerMock->method('read') |
65 | - ->willReturn(' '."\n".'<tw-storydata hurz'); |
|
65 | + ->willReturn(' ' . "\n" . '<tw-storydata hurz'); |
|
66 | 66 | |
67 | 67 | $fileCheck = new FileCheck(); |
68 | 68 | $returnValue = $fileCheck->check($this->fileHandlerMock, 'someFileName'); |