From 78e297a969049ca7cc370e80ff5e102921ef39a3 Mon Sep 17 00:00:00 2001 From: Manuel Christlieb Date: Wed, 13 Mar 2024 07:54:29 +0100 Subject: [PATCH] Fix problem with untrimmed command (#844) * Fix problem with untrimmed command * Let tests also run on PHP8.3 --- .github/workflows/integrate.yaml | 1 + bin/phpunit-wrapper.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index f2233ee0..eaae0c6a 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -106,6 +106,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" dependencies: - "lowest" - "highest" diff --git a/bin/phpunit-wrapper.php b/bin/phpunit-wrapper.php index 5ef61238..effccf05 100644 --- a/bin/phpunit-wrapper.php +++ b/bin/phpunit-wrapper.php @@ -38,7 +38,7 @@ exit; } - $arguments = unserialize($command); + $arguments = unserialize(trim($command)); (new PHPUnit\TextUI\Command())->run($arguments, false); fwrite($writeTo, WrapperWorker::TEST_EXECUTED_MARKER);