@@ -183,16 +183,18 @@ jobs:
183183 - name : Setup ini config
184184 id : set_ini
185185 shell : bash
186+ # yamllint disable rule:line-length
186187 run : |
187188 # Set the "short_open_tag" ini to make sure specific conditions are tested.
188189 # Also turn on error_reporting to ensure all notices are shown.
189190 if [[ ${{ matrix.custom_ini }} == true && "${{ matrix.php }}" == '5.5' ]]; then
190- echo 'PHP_INI=error_reporting=-1, display_errors=On, date.timezone=Australia/Sydney, short_open_tag=On, asp_tags=On' >> "$GITHUB_OUTPUT"
191+ echo 'PHP_INI=error_reporting=-1, display_errors=On, display_startup_errors=On, date.timezone=Australia/Sydney, short_open_tag=On, asp_tags=On' >> "$GITHUB_OUTPUT"
191192 elif [[ ${{ matrix.custom_ini }} == true && "${{ matrix.php }}" != '5.5' ]]; then
192- echo 'PHP_INI=error_reporting=-1, display_errors=On, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
193+ echo 'PHP_INI=error_reporting=-1, display_errors=On, display_startup_errors=On, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
193194 else
194- echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT"
195+ echo 'PHP_INI=error_reporting=-1, display_errors=On, display_startup_errors=On ' >> "$GITHUB_OUTPUT"
195196 fi
197+ # yamllint enable rule:line-length
196198
197199 - name : Install PHP
198200 uses : shivammathur/setup-php@v2
@@ -314,7 +316,7 @@ jobs:
314316 uses : shivammathur/setup-php@v2
315317 with :
316318 php-version : ${{ matrix.php }}
317- ini-values : error_reporting=-1, display_errors=On${{ steps.set_ini.outputs.PHP_INI }}
319+ ini-values : error_reporting=-1, display_errors=On, display_startup_errors=On ${{ steps.set_ini.outputs.PHP_INI }}
318320 coverage : xdebug
319321
320322 # This action also handles the caching of the dependencies.
0 commit comments