array('cat', $path) of type array<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
It seems like $process can also be of type false; however, parameter $process of proc_close() 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