Skip to content

Commit 4319732

Browse files
committed
run tests with PHPUnit 12.1 on PHP >= 8.3
1 parent 7b2d29f commit 4319732

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
77
}
88
if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
99
if (\PHP_VERSION_ID >= 80300) {
10-
putenv('SYMFONY_PHPUNIT_VERSION=12.0');
10+
putenv('SYMFONY_PHPUNIT_VERSION=12.1');
1111
} else {
1212
putenv('SYMFONY_PHPUNIT_VERSION=11.5');
1313
}

src/Symfony/Component/Process/Tests/ExecutableFinderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testFindWithOpenBaseDir()
123123
}
124124

125125
putenv('PATH='.\dirname(\PHP_BINARY));
126-
$initialOpenBaseDir = ini_set('open_basedir', \dirname(\PHP_BINARY).\PATH_SEPARATOR.'/');
126+
$initialOpenBaseDir = ini_set('open_basedir', \dirname(\PHP_BINARY).\PATH_SEPARATOR.'/'.\PATH_SEPARATOR.\PATH_SEPARATOR);
127127

128128
try {
129129
$finder = new ExecutableFinder();

0 commit comments

Comments
 (0)