Skip to content

Commit

Permalink
GH Actions: set error reporting to E_ALL
Browse files Browse the repository at this point in the history
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT`.

For the purposes of CI, I'd recommend running with `E_ALL` to ensure **all** PHP notices are shown.
  • Loading branch information
jrfnl committed Jun 21, 2021
1 parent 2248015 commit f6c61d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Expand Up @@ -57,6 +57,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=E_ALL
coverage: ${{ steps.set_cov.outputs.COV }}
tools: cs2pr

Expand Down

0 comments on commit f6c61d2

Please sign in to comment.