Skip to content

Commit

Permalink
Merge pull request #1999 from WordPress/feature/ghactions-turn-on-err…
Browse files Browse the repository at this point in the history
…or-reporting

GH Actions: turn display_errors on
  • Loading branch information
dingo-d authored Jun 22, 2021
2 parents 2a72b1c + a844b50 commit 44e9bdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
id: set_ini
run: |
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On'
else
echo '::set-output name=PHP_INI::error_reporting=E_ALL'
echo '::set-output name=PHP_INI::error_reporting=E_ALL, display_errors=On'
fi
- name: Set up PHP
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
id: set_ini
run: |
if [ "${{ matrix.phpcs_version }}" != "dev-master" ]; then
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED'
echo '::set-output name=PHP_INI::error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On'
else
echo '::set-output name=PHP_INI::error_reporting=E_ALL'
echo '::set-output name=PHP_INI::error_reporting=E_ALL, display_errors=On'
fi
- name: Set up PHP
Expand Down

0 comments on commit 44e9bdd

Please sign in to comment.