Skip to content

Commit cff81cb

Browse files
authored
Merge pull request #429 from Yoast/JRF/ghactions-show-startup-errors
GH Actions: update PHP ini configuration
2 parents 7eed12d + a693b9e commit cff81cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
uses: shivammathur/setup-php@v2
9292
with:
9393
php-version: ${{ matrix.php_version }}
94-
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On
94+
ini-values: zend.assertions=1, assert.exception=1, error_reporting=-1, display_errors=On, display_startup_errors=On
9595
coverage: none
9696
tools: cs2pr
9797

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
uses: shivammathur/setup-php@v2
9494
with:
9595
php-version: ${{ matrix.php_version }}
96-
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On
96+
ini-values: zend.assertions=1, assert.exception=1, error_reporting=-1, display_errors=On, display_startup_errors=On
9797
coverage: ${{ matrix.coverage == true && 'xdebug' || 'none' }}
9898

9999
# Install dependencies and handle caching in one go.
@@ -195,7 +195,7 @@ jobs:
195195
uses: shivammathur/setup-php@v2
196196
with:
197197
php-version: ${{ matrix.php_version }}
198-
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On
198+
ini-values: zend.assertions=1, assert.exception=1, error_reporting=-1, display_errors=On, display_startup_errors=On
199199
coverage: ${{ matrix.coverage == true && 'xdebug' || 'none' }}
200200

201201
# Install dependencies and handle caching in one go.

0 commit comments

Comments
 (0)