[php-src] master: [skip ci] Revert "CI: Revert timeout fix for Symfony community build (#22682)"
| From: | Ilija Tovilo | Date: | Thu, 23 Jul 2026 11:14:25 +0000 |
| Subject: | [php-src] master: [skip ci] Revert "CI: Revert timeout fix for Symfony community build (#22682)" | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140168@lists.php.net to get a copy of this message | ||
Author: Ilija Tovilo (iluuu1994)
Date: 2026-07-23T13:13:49+02:00
Commit: https://github.com/php/php-src/commit/742ff0e42af80003ff882c60d24f4c8e28b667b8
Raw diff: https://github.com/php/php-src/commit/742ff0e42af80003ff882c60d24f4c8e28b667b8.diff
[skip ci] Revert "CI: Revert timeout fix for Symfony community build (#22682)"
This reverts commit 841b5bfcf20daa97cdd682949df1b980d9359442.
Changed paths:
M .github/workflows/test-suite.yml
Diff:
diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml
index efe5a650d2c6..b51dfbd957c5 100644
--- a/.github/workflows/test-suite.yml
+++ b/.github/workflows/test-suite.yml
@@ -573,6 +573,10 @@ jobs:
php -r '$c =
file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php");
$c = str_replace("public function testSanitizeDeepNestedString()",
"#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n
public function testSanitizeDeepNestedString()", $c);
file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php",
$c);'
# Buggy FFI test in Symfony, see https://github.com/symfony/symfony/issues/47668
php -r '$c =
file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c =
str_replace("public function testCastNonTrailingCharPointer()",
"#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n
public function testCastNonTrailingCharPointer()", $c);
file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php",
$c);'
+ # Causes massive amounts of system calls with USE_ZEND_ALLOC=0, exceeding the timeout
+ 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
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