Skip to content

Commit 205e92a

Browse files
committed
GH Actions: set error reporting to E_ALL
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 d0f43ef commit 205e92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
php-version: "7.4"
2424
coverage: "none"
25-
ini-values: "memory_limit=-1"
25+
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
2626
tools: "composer:v2"
2727
- uses: "ramsey/composer-install@v1"
2828
- name: "Lint the PHP source code"
@@ -70,7 +70,7 @@ jobs:
7070
with:
7171
php-version: "${{ matrix.php-version }}"
7272
coverage: "pcov"
73-
ini-values: "memory_limit=-1"
73+
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
7474
tools: "composer:v2"
7575
- name: "Prepare for tests"
7676
run: "mkdir -p build/logs"

0 commit comments

Comments
 (0)