| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Sailor theme for hiqdev/yii2-thememanager |
||
| 4 | * |
||
| 5 | * @link https://github.com/hiqdev/yii2-theme-sailor |
||
| 6 | * @package yii2-theme-sailor |
||
| 7 | * @license BSD-3-Clause |
||
| 8 | * @copyright Copyright (c) 2017-2018, HiQDev (http://hiqdev.com/) |
||
| 9 | */ |
||
| 10 | error_reporting(E_ALL & ~E_NOTICE); |
||
| 11 | |||
| 12 | $bootstrap = __DIR__ . '/../src/_bootstrap.php'; |
||
| 13 | |||
| 14 | require_once file_exists($bootstrap) ? $bootstrap : __DIR__ . '/../vendor/autoload.php'; |
||
| 15 | |||
| 16 | /* |
||
| 17 | * Ensures compatibility with PHPUnit 6.x |
||
| 18 | */ |
||
| 19 | if (!class_exists('PHPUnit_Framework_Constraint') && class_exists('PHPUnit\Framework\Constraint\Constraint')) { |
||
| 20 | abstract class PHPUnit_Framework_Constraint extends \PHPUnit\Framework\Constraint\Constraint |
||
|
0 ignored issues
–
show
|
|||
| 21 | { |
||
| 22 | } |
||
| 23 | } |
||
| 24 | if (!class_exists('PHPUnit_Framework_TestCase') && class_exists('PHPUnit\Framework\TestCase')) { |
||
| 25 | abstract class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase |
||
|
0 ignored issues
–
show
The type
PHPUnit\Framework\TestCase 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 26 | { |
||
| 27 | } |
||
| 28 | } |
||
| 29 |
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