Skip to content

GH Actions: set error reporting to E_ALL #18

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jun 21, 2021

Turns out the default setting for error_reporting used by the SetupPHP action is error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT and display_errors is set to Off.

For the purposes of CI, I'd recommend running with E_ALL and display_errors=On to ensure all PHP notices are shown.

Note: this exposes a PHP 8.1 issue in the Parallel Lint library which should be addressed there.

Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`.

For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
@grogy grogy merged commit 01151ae into php-parallel-lint:master Aug 13, 2021
@grogy
Copy link
Member

grogy commented Aug 13, 2021

Thank you, merged

@jrfnl jrfnl deleted the feature/ghactions-turn-on-error-reporting branch August 13, 2021 06:04
@jrfnl jrfnl modified the milestones: 1.x Next Release, 1.0.0 Dec 10, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Development

Successfully merging this pull request may close these issues.

2 participants