1 | <?php |
||
2 | declare(strict_types = 1); |
||
3 | |||
4 | namespace Innmind\Server\Status\Facade\LoadAverage; |
||
5 | |||
6 | use Innmind\Server\Status\{ |
||
7 | Facade\LoadAverageFacade, |
||
0 ignored issues
–
show
|
|||
8 | Server\LoadAverage, |
||
9 | }; |
||
10 | |||
11 | final class PhpFacade |
||
12 | { |
||
13 | 9 | public function __invoke(): LoadAverage |
|
14 | { |
||
15 | 9 | /** @var array{0: int, 1: int, 2: int} */ |
|
16 | $load = \sys_getloadavg(); |
||
17 | 9 | ||
18 | 9 | return new LoadAverage( |
|
19 | 9 | $load[0], |
|
20 | 9 | $load[1], |
|
21 | $load[2], |
||
22 | ); |
||
23 | } |
||
24 | } |
||
25 |
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