The type Amp\Parallel\Sync\Channel 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:
array(PhpProfiler\Lib\Co...tor:trace', '-p', $pid) of type array<integer,integer|string> is incompatible with the type string expected by parameter $cmd of proc_open().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
36
/** @scrutinizer ignore-type */ [
Loading history...
37
PHP_BINARY,
38
__DIR__ . '/../../../../../php-profiler',
39
'inspector:trace',
40
'-p',
41
$pid
42
],
43
[
44
0 => ['pipe', 'r'],
45
1 => ['pipe', 'w'],
46
2 => ['pipe', 'w'],
47
],
48
$pipes
49
);
50
stream_set_blocking($pipes[1], false);
51
for ($status = proc_get_status($process); $status['running']; $status = proc_get_status($process)) {
It seems like $process can also be of type false; however, parameter $process of proc_get_status() does only seem to accept resource, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
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