Skip to content

Commit 44e9bdd

Browse files
authored
Merge pull request #1999 from WordPress/feature/ghactions-turn-on-error-reporting
GH Actions: turn display_errors on
2 parents 2a72b1c + a844b50 commit 44e9bdd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/quicktest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
id: set_ini
4545
run: |
4646
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
47-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
47+
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On'
4848
else
49-
echo '::set-output name=PHP_INI::error_reporting=E_ALL'
49+
echo '::set-output name=PHP_INI::error_reporting=E_ALL, display_errors=On'
5050
fi
5151
5252
- name: Set up PHP

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ jobs:
5757
id: set_ini
5858
run: |
5959
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
60-
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
60+
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On'
6161
else
62-
echo '::set-output name=PHP_INI::error_reporting=E_ALL'
62+
echo '::set-output name=PHP_INI::error_reporting=E_ALL, display_errors=On'
6363
fi
6464
6565
- name: Set up PHP

0 commit comments

Comments
 (0)