Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class BitrixMainProvider extends AbstractServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * @var array $singletons |
||
13 | */ |
||
14 | protected $singletons = [ |
||
15 | \Bitrix\Main\Loader::class, |
||
|
|||
16 | ]; |
||
17 | |||
18 | /** |
||
19 | * @inheritDoc |
||
20 | */ |
||
21 | public function register(): void |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Initializes global variables |
||
30 | * |
||
31 | * @access protected |
||
32 | * @return void |
||
33 | */ |
||
34 | protected function initGlobalObjects(): void |
||
53 |
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