1 | <?php |
||
2 | /** |
||
3 | * RBAC implementation for HiPanel |
||
4 | * |
||
5 | * @link https://github.com/hiqdev/hipanel-rbac |
||
6 | * @package hipanel-rbac |
||
7 | * @license BSD-3-Clause |
||
8 | * @copyright Copyright (c) 2016-2019, HiQDev (http://hiqdev.com/) |
||
9 | */ |
||
10 | |||
11 | error_reporting(E_ALL); |
||
12 | |||
13 | require_once __DIR__ . '/../vendor/autoload.php'; |
||
14 | |||
15 | if (class_exists(\Yiisoft\Factory\Definitions\Reference::class)) { |
||
16 | $config = require \Yiisoft\Composer\Config\Builder::path('console'); |
||
0 ignored issues
–
show
|
|||
17 | \yii\helpers\Yii::setContainer(new \yii\di\Container($config)); |
||
18 | } else { |
||
19 | require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'; |
||
20 | |||
21 | Yii::setAlias('@hipanel/rbac', dirname(__DIR__) . '/src'); |
||
22 | Yii::setAlias('@hipanel/rbac/tests', __DIR__); |
||
23 | } |
||
24 |
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