Skip to content

Commit 78e297a

Browse files
authored
Fix problem with untrimmed command (#844)
* Fix problem with untrimmed command * Let tests also run on PHP8.3
1 parent 8083a42 commit 78e297a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/integrate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
- "8.0"
107107
- "8.1"
108108
- "8.2"
109+
- "8.3"
109110
dependencies:
110111
- "lowest"
111112
- "highest"

bin/phpunit-wrapper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
exit;
3939
}
4040

41-
$arguments = unserialize($command);
41+
$arguments = unserialize(trim($command));
4242
(new PHPUnit\TextUI\Command())->run($arguments, false);
4343

4444
fwrite($writeTo, WrapperWorker::TEST_EXECUTED_MARKER);

0 commit comments

Comments
 (0)