[php-src] PHP-8.3: [skip ci] Fix Symfony test without USE_TRACKED_ALLOC

From: Date: Tue, 24 Nov 2026 23:00:06 +0000
Subject: [php-src] PHP-8.3: [skip ci] Fix Symfony test without USE_TRACKED_ALLOC
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-144143@lists.php.net to get a copy of this message
Author: Ilija Tovilo (iluuu1994) Date: 2026-11-24T23:58:25+01:00 Commit: https://github.com/php/php-src/commit/aad1bd34bf49b63601fe0a038667d41e25dc57d5 Raw diff: https://github.com/php/php-src/commit/aad1bd34bf49b63601fe0a038667d41e25dc57d5.diff [skip ci] Fix Symfony test without USE_TRACKED_ALLOC This test runs forever without a memory_limit. Changed paths: M .github/workflows/test-suite.yml Diff: diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index fcf1bc7ead13..7049cecb5da7 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -577,6 +577,8 @@ jobs: if [ -e 'src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php' ]; then php -r '$c = file_get_contents("src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php"); $c = str_replace("public function testReadWithPasteDetectionAbortsBeyondMaxBytes()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testReadWithPasteDetectionAbortsBeyondMaxBytes()", $c); file_put_contents("src/Symfony/Component/Console/Tests/Helper/FileInputHelperTest.php", $c);' fi + # Breaks with USE_ZEND_ALLOC=0 but without USE_TRACKED_ALLOC=1. + php -r '$c = file_get_contents("src/Symfony/Component/Messenger/Tests/Command/ConsumeMessagesCommandTest.php"); $c = str_replace("public function testRunWithMemoryLimit()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testRunWithMemoryLimit()", $c); file_put_contents("src/Symfony/Component/Messenger/Tests/Command/ConsumeMessagesCommandTest.php", $c);' export SYMFONY_DEPRECATIONS_HELPER=max[total]=999 X=0 for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do

« previous php.cvs (#144143) next »