Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Fix ERROR_CODE handling in COMMUNITY build
This commit is contained in:
Ilija Tovilo 2025-08-07 13:56:06 +02:00
commit aae35f3617
No known key found for this signature in database
GPG key ID: 115CEA7A713E12E9

View file

@ -570,8 +570,8 @@ jobs:
cd "amphp-$repository" cd "amphp-$repository"
git rev-parse HEAD git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+ php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit EXIT_CODE=0
EXIT_CODE=$? vendor/bin/phpunit || EXIT_CODE=$?
echo -e "\n::endgroup::" echo -e "\n::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;
@ -604,8 +604,8 @@ jobs:
cd "reactphp-$repository" cd "reactphp-$repository"
git rev-parse HEAD git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+ php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit EXIT_CODE=0
EXIT_CODE=$? vendor/bin/phpunit || EXIT_CODE=$?
echo -e "\n::endgroup::" echo -e "\n::endgroup::"
if [ $[EXIT_CODE:-0} -gt 128 ]; then if [ $[EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;
@ -641,8 +641,8 @@ jobs:
X=0 X=0
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
echo "::group::$component" echo "::group::$component"
php ./phpunit $component --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group transient --exclude-group skip EXIT_CODE=0
EXIT_CODE=$? php ./phpunit $component --exclude-group tty --exclude-group benchmark --exclude-group intl-data --exclude-group transient --exclude-group skip || EXIT_CODE=$?
echo -e "\n::endgroup::" echo -e "\n::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;