Closed jrfnl closed 3 years ago
Note: the current build failure against PHP 8.1 was expected - this is an upstream issue with the PHP Parallel Lint package and I've already pulled a fix there: https://github.com/php-parallel-lint/PHP-Parallel-Lint/pull/64
Turns out the default setting for
error_reporting
used by the SetupPHP action iserror_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
anddisplay_errors
is set toOff
.For the purposes of CI, I'd recommend running with
E_ALL
anddisplay_errors=On
to ensure all PHP notices are shown.In the
test
script, error_reporting was already enabled, but the error display was not yet fixed. Sorted now. In thelint
script, both were missing.