| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function loadInternal(array $mergedConfig, ContainerBuilder $container) |
||
| 15 | { |
||
| 16 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 17 | $loader->load('services.yml'); |
||
| 18 | |||
| 19 | if (self::$loadTestConfig != false) { |
||
|
|
|||
| 20 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Tests/ezpublish/config')); |
||
| 21 | $loader->load('services.yml'); |
||
| 22 | } |
||
| 23 | } |
||
| 24 | } |
||
| 25 |
When comparing two booleans, it is generally considered safer to use the strict comparison operator.