BPTproto /
BPT-Multi
| 1 | <?php |
||
| 2 | |||
| 3 | namespace BPT; |
||
| 4 | |||
| 5 | use BPT\api\request; |
||
| 6 | use BPT\types\update; |
||
|
0 ignored issues
–
show
|
|||
| 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 |
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