| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 2 | public function __construct(SplFileInfo $fileInfo, string $relativeSource) |
|
| 30 | { |
||
| 31 | 2 | parent::__construct($fileInfo, $relativeSource); |
|
| 32 | 2 | $this->ensurePathStartsWithDate($fileInfo); |
|
| 33 | 1 | $this->date = PathAnalyzer::detectDate($fileInfo); |
|
| 34 | 1 | $this->filenameWithoutDate = PathAnalyzer::detectFilenameWithoutDate($fileInfo); |
|
| 35 | 1 | } |
|
| 36 | |||
| 61 |