Skip to content

Commit 01151ae

Browse files
jrfnlgrogy
authored andcommitted
GH Actions: set error reporting to E_ALL
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`. For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
1 parent 5962493 commit 01151ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: shivammathur/setup-php@v2
3131
with:
3232
php-version: ${{ matrix.php }}
33+
ini-values: error_reporting=E_ALL, display_errors=On
3334
coverage: none
3435
tools: cs2pr
3536

0 commit comments

Comments
 (0)