| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 3 | public function write(string $content): void |
|
| 26 | { |
||
| 27 | 3 | $fName = $this->fileNameProvider->getFileName($content); |
|
| 28 | 3 | $this->output->writeln( |
|
| 29 | 3 | sprintf('<comment>START FILE %s==================================================</comment>', $fName) |
|
| 30 | ); |
||
| 31 | 3 | $this->output->writeln($content); |
|
| 32 | 3 | $this->output->writeln( |
|
| 33 | 3 | sprintf('<comment>END FILE %s####################################################</comment>', $fName) |
|
| 34 | ); |
||
| 35 | 3 | $this->output->writeln("<comment>#\n#\n#\n#</comment>"); |
|
| 36 | 3 | } |
|
| 38 |