From 91ef7d0e5457c4238b65d758c467fec436f3f569 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 10 Aug 2025 04:11:18 +0200 Subject: [PATCH] GH Actions: update PHP ini configuration Add `display_startup_errors=On` as per the current recommendation from PHPUnit. Ref: https://github.com/sebastianbergmann/phpunit-documentation-english/commit/b3b159cbe9bd7eb5656dd381fc6f028549601dce --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 24adae3f..ec6e7ddb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,6 +63,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On coverage: none tools: cs2pr @@ -160,7 +161,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: ${{ matrix.coverage && 'xdebug' || 'none' }} - ini-values: sendmail_path=/usr/sbin/sendmail -t -i, error_reporting=E_ALL, display_errors=On + ini-values: sendmail_path=/usr/sbin/sendmail -t -i, error_reporting=-1, display_errors=On, display_startup_errors=On extensions: ${{ steps.set_extensions.outputs.EXT }} # Install dependencies and handle caching in one go.