Passed
Push — main ( 23165f...4af278 )
by Miaad
01:25
created
Labels
Severity
1
<?php
2
3
namespace BPT;
4
5
use BPT\api\request;
6
use BPT\types\update;
0 ignored issues
show
The type BPT\types\update 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
use stdClass;
8
9
class BPT{
10
    public update $update;
11
12
13
    public function __construct (array|stdClass $settings) {
14
        settings::init($settings);
15
    }
16
17
    public function __call (string $name, array $arguments) {
18
        if (!isset($arguments[1]) && is_array($arguments[0])) {
19
            request::$name(...$arguments[0]);
20
        }
21
        else {
22
            request::$name($arguments);
23
        }
24
    }
25
}
26