| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class BitrixMainProvider extends AbstractServiceProvider |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array $singletons |
||
| 15 | */ |
||
| 16 | protected $singletons = [ |
||
| 17 | '\Bitrix\Main\Loader', |
||
| 18 | ConfigurationContract::class => ConfigManager::class, |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | public function register(): void |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Initializes global variables |
||
| 33 | * |
||
| 34 | * @access protected |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | protected function initGlobalObjects(): void |
||
| 64 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths