| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function getConfigurationPathsForEnvironment( string $configPath ): array { |
||
| 24 | $paths = self::removeNonexistentOptionalPaths( ...[ |
||
| 25 | $configPath . '/config.dist.json', |
||
| 26 | $configPath . '/config.' . $this->environmentName . '.json', |
||
| 27 | $configPath . '/config.' . $this->environmentName . '.local.json', |
||
| 28 | ] ); |
||
| 29 | self::checkIfPathsExist( ...$paths ); |
||
| 30 | return $paths; |
||
| 31 | } |
||
| 51 |