summaryrefslogtreecommitdiff
path: root/it_pipe.class
diff options
context:
space:
mode:
authorUrban Müller2023-07-05 14:06:58 +0200
committerUrban Müller2023-07-05 14:06:58 +0200
commit26cec3ea70f65b655e16a9ba88951a9050b646c2 (patch)
tree153265ae7bd3ba21248a27537ec61ad73cded2e8 /it_pipe.class
parent36ffd806aec597c6e3eff966d47f02cb23f66a7b (diff)
downloaditools-26cec3ea70f65b655e16a9ba88951a9050b646c2.tar.gz
itools-26cec3ea70f65b655e16a9ba88951a9050b646c2.tar.bz2
itools-26cec3ea70f65b655e16a9ba88951a9050b646c2.zip
mark safe it::shell_command calls
Diffstat (limited to 'it_pipe.class')
-rw-r--r--it_pipe.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_pipe.class b/it_pipe.class
index 73ce75a..fd1e7cf 100644
--- a/it_pipe.class
+++ b/it_pipe.class
@@ -228,7 +228,7 @@ function lines()
*/
function pipe($cmd, ...$args)
{
- $cmd = it::shell_command($cmd, ...$args);
+ $cmd = it::shell_command($cmd, ...$args); # NOPHPLINT
$descriptors = array(0 => array("pipe", "r"), 1 => array("pipe", "w"));
$process = proc_open($cmd, $descriptors, $pipes);