Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class DataAccess extends \suda\orm\DataAccess |
||
14 | { |
||
15 | |||
16 | |||
17 | /** |
||
18 | * 应用引用 |
||
19 | * |
||
20 | * @var Application |
||
21 | */ |
||
22 | protected static $application; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * 创建对数据的操作 |
||
27 | * |
||
28 | * @param string $object |
||
29 | * @param Middleware|null $middleware |
||
30 | */ |
||
31 | public function __construct(string $object, ?Middleware $middleware = null) |
||
|
|||
32 | { |
||
33 | parent::__construct($object, static::$application->getDataSource(), $middleware); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * 从应用创建表 |
||
38 | * |
||
39 | * @param \suda\application\Application $application |
||
40 | * @return void |
||
41 | */ |
||
42 | public static function load(Application $application) |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * Get 应用引用 |
||
49 | * |
||
50 | * @return Application |
||
51 | */ |
||
52 | public static function application() |
||
57 |
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