Issues (867)

blog/config/console/events.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
use App\Timer;
6
use Yiisoft\Yii\Console\Event\ApplicationStartup;
0 ignored issues
show
The type Yiisoft\Yii\Console\Event\ApplicationStartup 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
    ApplicationStartup::class => [
10
        static fn (Timer $timer) => $timer->start('overall'),
11
    ],
12
];
13