Issues (68)

tests/_bootstrap.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * ActiveRecord for API
4
 *
5
 * @link      https://github.com/hiqdev/yii2-hiart
6
 * @package   yii2-hiart
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
error_reporting(E_ALL);
12
13
require_once __DIR__ . '/../vendor/autoload.php';
14
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
15
16
use Yiisoft\Composer\Config\Builder;
0 ignored issues
show
The type Yiisoft\Composer\Config\Builder was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
17
use yii\console\Application;
18
19
Yii::$app = new Application(require Builder::path('tests'));
20