Skip to content

Commit f22a644

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Use attribute for ignoring Laravel test
2 parents d4e40dc + 0e8205b commit f22a644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ jobs:
350350
git rev-parse HEAD
351351
php /usr/bin/composer install --no-progress --ignore-platform-reqs
352352
# Hack to disable a test that hangs
353-
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("public function testSharedGet()", "/** @group skip */\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
353+
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("public function testSharedGet()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
354354
export ASAN_OPTIONS=exitcode=139
355355
php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
356356
if [ $EXIT_CODE -gt 128 ]; then

0 commit comments

Comments
 (0)