| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 61 | 1 | public function load(ContainerBuilder $container, array $config) |
|
| 62 | { |
||
| 63 | 1 | $prefix = (empty($config['prefix']) ? '' : $config['prefix'] . '.'); |
|
| 64 | |||
| 65 | 1 | foreach (filter_input_array(INPUT_SERVER) as $name => $value) { |
|
| 66 | 1 | $container->setParameter($prefix . strtolower($name), $value); |
|
| 67 | 1 | } |
|
| 68 | 1 | } |
|
| 69 | |||
| 79 |
This check marks files that end in a newline character, i.e. an empy line.