Issues (2)

config/params.php (1 issue)

Checks if used types are declared or listed as dependencies.

Bug Major
1
<?php
2
3
declare(strict_types=1);
4
5
use YiiRocks\SvgInline\SvgViewInjection;
6
use Yiisoft\Factory\Definitions\Reference;
0 ignored issues
show
The type Yiisoft\Factory\Definitions\Reference 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...
7
8
return [
9
    'yiirocks/svg-inline' => [
10
        'fallbackIcon' => '@vendor/yiirocks/svg-inline/src/fallbackIcon.svg',
11
        'fill' => 'currentColor',
12
    ],
13
14
    'yiisoft/yii-view' => [
15
        'injections' => [
16
            Reference::to(SvgViewInjection::class),
17
        ],
18
    ],
19
];
20