GH Actions: update PHP ini configuration

Add `display_startup_errors=On` as per the current recommendation from PHPUnit.

Ref: b3b159cbe9
This commit is contained in:
jrfnl 2025-08-10 04:11:18 +02:00
parent f202f351ca
commit 91ef7d0e54
No known key found for this signature in database
GPG Key ID: 88BCD0973A23BCC6
1 changed files with 2 additions and 1 deletions

View File

@ -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.