Closed jrfnl closed 2 years ago
Merging #915 (dc490fe) into master (535de5b) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #915 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 180 180
===========================================
Files 20 20
Lines 464 464
===========================================
Hits 464 464
Yay! Build fails on 8.1 because of deprecation warnings. š
Yay! Build fails on 8.1 because of deprecation warnings. š
And aren't you glad those are now fixed and nothing to worry about anymore ? š
GH Actions: set error reporting to E_ALL
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.PHPUnit: update configuration
PHPUnit recently released version 9.5.10 and 8.5.21.
This contains a particular (IMO breaking) change:
Let's unpack this:
Previously (PHPUnit < 9.5.10/8.5.21), if PHPUnit would encounter a PHP native deprecation notice, it would:
As of PHPUnit 9.5.10/8.5.21, if PHPUnit encounters a PHP native deprecation notice, it will no longer do so. Instead PHPUnit will:
This commit reverts PHPUnit to the previous behaviour by adding
convertDeprecationsToExceptions="true"
to the PHPUnit configuration. It also adds the other related directives for consistency.Refs: