Commit ceb2bb0
committed
fix(ci): expand phpunit.xml.dist patch in ci.yml workflow
The devkit regenerates .kcode/phpunit.xml.dist on every `kcode init`
run, so local edits to that file are always discarded in CI.
The generated file contains PHPUnit 12 flags that cause false-positive
failures (failOnWarning, failOnRisky, restrictWarnings, restrictNotices,
restrictDeprecations) that do not reflect actual defects.
ci.yml previously patched only beStrictAboutCoverageMetadata.
Now it applies the same complete set of sed patches already present in
code-quality.yml, keeping both workflows in sync:
- failOnWarning="true" → false
- failOnRisky="true" → false
- beStrictAboutCoverageMetadata → false
- restrictWarnings="true" → removed
- restrictDeprecations="true" → removed
- restrictNotices="true" → removed
Fixes: 26 PHPUnit Warnings that were failing the CI job.1 parent 7cba332 commit ceb2bb0
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
0 commit comments