| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class PhpFile extends AbstractElement |
||
| 8 | { |
||
| 9 | public const START_FILE = '<?php'; |
||
| 10 | |||
| 11 | 22 | public function getPhpDeclaration(): string |
|
| 14 | } |
||
| 15 | |||
| 16 | 22 | public function getLineBeforeChildren(?int $indentation = null): string |
|
| 17 | { |
||
| 18 | 22 | return ''; |
|
| 19 | } |
||
| 20 | |||
| 21 | 22 | public function toString(?int $indentation = null): string |
|
| 22 | { |
||
| 23 | 22 | return sprintf('%s%s', parent::toString($indentation), self::BREAK_LINE_CHAR); |
|
| 24 | } |
||
| 25 | |||
| 26 | 24 | public function getChildrenTypes(): array |
|
| 37 | ]; |
||
| 38 | } |
||
| 39 | } |
||
| 40 |