Merge pull request #2571 from jrfnl/feature/ghactions-show-startup-errors
Some checks are pending
Basic QA checks / Run code sniffs (push) Waiting to run
Basic QA checks / XML Code style (push) Waiting to run
Basic QA checks / Ruleset test: PHP latest on PHPCS dev (push) Waiting to run
Basic QA checks / Ruleset test: PHP latest on PHPCS lowest (push) Waiting to run
Basic QA checks / Ruleset test: PHP latest on PHPCS stable (push) Waiting to run
Basic QA checks / PHPStan (push) Waiting to run
Basic QA checks / Find typos (push) Waiting to run
Quick Tests / QTest - PHP 5.4 on PHPCS lowest (push) Waiting to run
Quick Tests / QTest - PHP latest on PHPCS lowest (push) Waiting to run
Quick Tests / QTest - PHP 5.4 on PHPCS stable (push) Waiting to run
Quick Tests / QTest - PHP latest on PHPCS stable (push) Waiting to run

GH Actions: update PHP ini configuration
This commit is contained in:
Denis Žoljom 2025-08-24 19:58:04 +02:00 committed by GitHub
commit f8685a2866
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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