Skip to content

Commit 79f418f

Browse files
committed
GH Actions: update PHP ini configuration
Add `display_startup_errors=On` as per the current recommendation from PHPUnit. Ref: sebastianbergmann/phpunit-documentation-english@b3b159c
1 parent 923d01f commit 79f418f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
php-version: 8.2
3232
extensions: exif, phar, openssl, sodium
3333
coverage: none
34-
ini-values: phar.readonly=Off, error_reporting=-1, display_errors=On, zend.assertions=1
34+
ini-values: phar.readonly=Off, error_reporting=-1, display_errors=On, display_startup_errors=On, zend.assertions=1
3535
# Autoload files generated with Composer 2.3 are not compatible with PHP < 7.0.
3636
tools: composer:2.2
3737
env:
@@ -101,7 +101,7 @@ jobs:
101101
uses: shivammathur/setup-php@v2
102102
with:
103103
php-version: ${{ matrix.php }}
104-
ini-values: error_reporting=-1, display_errors=On, zend.assertions=1
104+
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On, zend.assertions=1
105105
coverage: none
106106

107107
- name: Run linter against codebase

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
php-version: 8.2
5959
extensions: exif, phar, openssl, sodium
6060
coverage: none
61-
ini-values: phar.readonly=Off, error_reporting=-1, display_errors=On, zend.assertions=1
61+
ini-values: phar.readonly=Off, error_reporting=-1, display_errors=On, display_startup_errors=On, zend.assertions=1
6262
# Autoload files generated with Composer 2.3 are not compatible with PHP < 7.0.
6363
tools: composer:2.2
6464
env:
@@ -124,7 +124,7 @@ jobs:
124124
uses: shivammathur/setup-php@v2
125125
with:
126126
php-version: ${{ matrix.php }}
127-
ini-values: error_reporting=-1, display_errors=On, zend.assertions=1
127+
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On, zend.assertions=1
128128
coverage: none
129129

130130
# Remove the PHPCS standard as it has a minimum PHP requirements of PHP 5.4 and would block install on PHP 5.3.

0 commit comments

Comments
 (0)