diff --git a/.github/workflows/quicktest.yml b/.github/workflows/quicktest.yml index d39fd3e1..355bd320 100644 --- a/.github/workflows/quicktest.yml +++ b/.github/workflows/quicktest.yml @@ -38,7 +38,7 @@ jobs: php-version: ${{ matrix.php }} # With stable PHPCS dependencies, allow for PHP deprecation notices. # Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore. - ini-values: error_reporting=-1, display_errors=On + ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On coverage: ${{ github.ref_name == 'develop' && 'xdebug' || 'none' }} - name: Enable creation of `composer.lock` file diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 11151ebb..33d5e713 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -91,9 +91,9 @@ jobs: id: set_ini run: | if [ "${{ matrix.dependencies }}" != "dev" ]; then - echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> "$GITHUB_OUTPUT" + echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On, display_startup_errors=On' >> "$GITHUB_OUTPUT" else - echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT" + echo 'PHP_INI=error_reporting=-1, display_errors=On, display_startup_errors=On' >> "$GITHUB_OUTPUT" fi - name: Set up PHP