diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4750c8..d017722 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - ini-values: 'zend.assertions=1, error_reporting=-1, display_errors=On' + ini-values: 'zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On' coverage: none tools: cs2pr @@ -107,9 +107,9 @@ jobs: # On PHP 5.3, short_open_tag needs to be turned on for short open echo tags to be recognized # a PHP tags. As this only affects PHP 5.3, this is not something of serious concern. if [ ${{ matrix.php }} == "5.3" ]; then - echo 'PHP_INI=zend.assertions=1, error_reporting=-1, display_errors=On, short_open_tag=On' >> $GITHUB_OUTPUT + echo 'PHP_INI=zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On, short_open_tag=On' >> $GITHUB_OUTPUT else - echo 'PHP_INI=zend.assertions=1, error_reporting=-1, display_errors=On' >> $GITHUB_OUTPUT + echo 'PHP_INI=zend.assertions=1, error_reporting=-1, display_errors=On, display_startup_errors=On' >> $GITHUB_OUTPUT fi - name: Setup PHP