From c84f7b72a495b1814ae49677c48bec40eb33d868 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 8 Aug 2021 02:23:08 +0200 Subject: [PATCH] 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. Ref: https://github.com/shivammathur/setup-php/issues/469 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa96876..c3b24be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} extensions: mbstring, intl + ini-values: error_reporting=-1, display_errors=On coverage: none - name: Use Composer 1.x @@ -46,6 +47,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} extensions: mbstring, intl, sodium + ini-values: error_reporting=-1, display_errors=On coverage: none - name: Modernize dependencies