Skip to content

Commit

Permalink
Use error_reporting=-1 instead of error_reporting=E_ALL to always sho…
Browse files Browse the repository at this point in the history
…w all errors, even when new categories are introduced
  • Loading branch information
sebastianbergmann committed Jun 22, 2021
1 parent 17a977b commit 7bf93db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

env:
PHP_EXTENSIONS: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter
PHP_INI_VALUES: assert.exception=1, zend.assertions=1, error_reporting=E_ALL, display_errors=On
PHP_INI_VALUES: assert.exception=1, zend.assertions=1, error_reporting=-1, display_errors=On

strategy:
fail-fast: false
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
php-version: ${{ matrix.php-version }}
coverage: pcov
extensions: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter
ini-values: assert.exception=1, zend.assertions=1, error_reporting=E_ALL, display_errors=On
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, display_errors=On

- name: Determine composer cache directory
run: echo "COMPOSER_CACHE_DIR=$(./tools/composer config cache-dir)" >> $GITHUB_ENV
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
php-version: ${{ matrix.php-version }}
coverage: pcov
extensions: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter
ini-values: assert.exception=1, zend.assertions=1, error_reporting=E_ALL, display_errors=On
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, display_errors=On

- name: Determine composer cache directory
run: echo "COMPOSER_CACHE_DIR=$(tools/composer config cache-dir)" >> $GITHUB_ENV
Expand Down

0 comments on commit 7bf93db

Please sign in to comment.