| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types = 1); |
||
| 15 | public function configure(string $configuration) |
||
|
|
|||
| 16 | { |
||
| 17 | $configString = file_get_contents(__DIR__ . '/../../../app/config/prod.xml'); |
||
| 18 | $config = new \SimpleXMLElement($configString); |
||
| 19 | |||
| 20 | // Find all configuration classes |
||
| 21 | $configData = []; |
||
| 22 | foreach ($config->container as $service) { |
||
| 23 | foreach ($service as $serviceName => $configuration) { |
||
| 24 | $configData[$serviceName] = (array)$configuration; |
||
| 25 | } |
||
| 26 | } |
||
| 27 | } |
||
| 28 | } |
||
| 29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.