| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 1 | public function resolve(): FileMappingReaderInterface |
|
| 34 | { |
||
| 35 | $files = [ |
||
| 36 | 1 | __DIR__ . '/../templates/mapping/files', |
|
| 37 | 1 | sprintf( |
|
| 38 | 1 | __DIR__ . '/../templates/mapping/project/%s', |
|
| 39 | 1 | $this->typeResolver->resolve() |
|
| 40 | ) |
||
| 41 | ]; |
||
| 42 | |||
| 43 | 1 | return new UnixFileMappingReader( |
|
| 44 | 1 | __DIR__ . '/../templates/files', |
|
| 45 | 1 | getcwd(), |
|
| 46 | 1 | ...$files |
|
| 47 | ); |
||
| 50 |