Commit 2030502
Disable code coverage to fix php-parser conflict with rector
rector/rector bundles its own nikic/php-parser, and when PHPUnit runs
with code coverage enabled, php-code-coverage also loads php-parser.
This causes a class declaration collision:
Cannot declare class PhpParser\Node\Scalar\InterpolatedString,
because the name is already in use
This is a known rector issue with no clean fix:
rectorphp/rector#6958
Since this is a rector extension tool, code coverage isn't critical.
Disabling it avoids the autoloader conflict entirely.
Fixes CI failure: https://github.com/cakephp/upgrade/actions/runs/19643729518
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 63199da commit 2030502
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 65 | + | |
75 | 66 | | |
76 | 67 | | |
77 | 68 | | |
| |||
0 commit comments