From 9da13a813a551a5b81faaef80ce021bdc35d01be Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 26 Nov 2024 14:14:36 +0100 Subject: [PATCH] Fix Behat error reporting once again --- .github/workflows/reusable-testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-testing.yml b/.github/workflows/reusable-testing.yml index d5cdd81..a65c42d 100644 --- a/.github/workflows/reusable-testing.yml +++ b/.github/workflows/reusable-testing.yml @@ -319,7 +319,8 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '${{ matrix.php }}' - ini-values: zend.assertions=1, error_reporting=-1, display_errors=On + # Disable error reporting for Behat tests on PHP 8.4+, as long as Behat is not upgraded to a newer version. + ini-values: ${{ matrix.php != '8.4' && matrix.php != 'nightly' && 'zend.assertions=1, error_reporting=-1, display_errors=On' || '' }} extensions: gd, imagick, mysql, zip coverage: none tools: composer