| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 21 | 3 | protected function loadMappingFile($file): array // phpcs:ignore | |
| 22 |     { | ||
| 23 | 3 | $metadata = $this->metadata; | |
| 24 | 3 | $emConfig = $this->emConfig; | |
| 25 | |||
| 26 | 3 |         if ($this->loadMappingsUsingFunctionalStyle) { | |
| 27 | 1 | (include $file)($metadata, $emConfig); | |
| 28 |         } else { | ||
| 29 | 2 | include $file; | |
| 30 | } | ||
| 31 | |||
| 32 | 3 | return [$metadata->getName() => $metadata]; | |
| 33 | } | ||
| 35 |