Issues (200)

config/config.php (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * This file is part of the sj-i/php-profiler package.
5
 *
6
 * (c) sji <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
use Psr\Log\LogLevel;
0 ignored issues
show
The type Psr\Log\LogLevel 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...
15
16
return [
17
    'log' => [
18
        'path' => [
19
            'default' => 'php-profiler.log',
20
        ],
21
        'level' => LogLevel::INFO,
22
    ],
23
    'paths' => [
24
        'templates' => __DIR__ . '/../resources/templates',
25
        'tools' => __DIR__ . '/../tools',
26
    ],
27
    'output' => [
28
        'template' => [
29
            'default' => 'phpspy',
30
            // 'default' => 'phpspy_with_opcode'
31
            // 'default' => 'compat'
32
            // 'default' => 'json_lines'
33
        ],
34
    ],
35
];
36