Skip to content

Commit 5ddcc39

Browse files
committed
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 8c5038a commit 5ddcc39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
uses: shivammathur/setup-php@v2
5252
with:
5353
php-version: ${{ matrix.php }}
54+
ini-values: error_reporting=E_ALL, display_errors=On
5455
coverage: none
5556
tools: composer
5657

0 commit comments

Comments
 (0)