From 6e205a0c843b981719720ca402e408615f055889 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 17 Aug 2022 13:23:16 +0200 Subject: [PATCH] Fix minor bug in process executor mock --- tests/Composer/Test/Mock/ProcessExecutorMock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/Mock/ProcessExecutorMock.php b/tests/Composer/Test/Mock/ProcessExecutorMock.php index 6d2386c3b..2f5c2ff23 100644 --- a/tests/Composer/Test/Mock/ProcessExecutorMock.php +++ b/tests/Composer/Test/Mock/ProcessExecutorMock.php @@ -178,7 +178,7 @@ class ProcessExecutorMock extends ProcessExecutor } if ($stdout) { - call_user_func($callback, Process::STDOUT, $stdout); + call_user_func($callback, Process::OUT, $stdout); } if ($stderr) { call_user_func($callback, Process::ERR, $stderr);