Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
22 | public function load(array $configs, ContainerBuilder $container) |
||
23 | { |
||
24 | $configuration = new Configuration(); |
||
25 | $config = $this->processConfiguration($configuration, $configs); |
||
|
|||
26 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
27 | $loader->load('services.yml'); |
||
28 | } |
||
29 | |||
38 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.