Commit 31fe5f5
committed
fix(phpunit-config): set failOnWarning/failOnRisky=false, remove restrict* from source
PHPUnit 12 + PCOV emits false-positive 'not a valid target for code coverage'
warnings for classes extending native PHP exceptions (RuntimeException).
With failOnWarning=true these warnings fail CI. restrictDeprecations/Notices/
Warnings in <source> also causes PHPUnit to exit non-zero on internal notices.
- failOnRisky="false" (was true)
- failOnWarning="false" (was true)
- <source> without restrict* attrs1 parent dda1f1e commit 31fe5f5
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments