Skip to content

Commit f8685a2

Browse files
authored
Merge pull request #2571 from jrfnl/feature/ghactions-show-startup-errors
GH Actions: update PHP ini configuration
2 parents 97ce822 + 009086d commit f8685a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/quicktest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
php-version: ${{ matrix.php }}
3939
# With stable PHPCS dependencies, allow for PHP deprecation notices.
4040
# Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore.
41-
ini-values: error_reporting=-1, display_errors=On
41+
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On
4242
coverage: ${{ github.ref_name == 'develop' && 'xdebug' || 'none' }}
4343

4444
- name: Enable creation of `composer.lock` file

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ jobs:
9191
id: set_ini
9292
run: |
9393
if [ "${{ matrix.dependencies }}" != "dev" ]; then
94-
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> "$GITHUB_OUTPUT"
94+
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On, display_startup_errors=On' >> "$GITHUB_OUTPUT"
9595
else
96-
echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT"
96+
echo 'PHP_INI=error_reporting=-1, display_errors=On, display_startup_errors=On' >> "$GITHUB_OUTPUT"
9797
fi
9898
9999
- name: Set up PHP

0 commit comments

Comments
 (0)