Skip to content

fix: green up CI (xdebug extension, icon fixture)#15

Merged
HafizMMoaz merged 1 commit into
mainfrom
fix/ci-failures
Jul 22, 2026
Merged

fix: green up CI (xdebug extension, icon fixture)#15
HafizMMoaz merged 1 commit into
mainfrom
fix/ci-failures

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

The test job on main was failing with 7 errors and 1 warning.

  • CI installed pcov, but ExceptionHandlerTest calls xdebug_get_headers(), which only exists when Xdebug is loaded. Switched coverage to xdebug and set xdebug.mode="develop,coverage" so both the header inspection and coverage work.
  • DebuggerTest::testIconPathOption pointed at ../guide/image.png, which does not exist in this repository, so renderDebugbar() threw LogicException: Icon not found. Repointed at src/Views/exceptions/favicons/development.png, a real PNG that is not the default debugbar icon, so the option is still meaningfully exercised.

🤖 Generated with Claude Code

The `test` job on main was failing with 7 errors and 1 warning.

- CI installed pcov, but `ExceptionHandlerTest` calls `xdebug_get_headers()`, which only exists when Xdebug is loaded. Switched `coverage` to `xdebug` and set `xdebug.mode="develop,coverage"` so both the header inspection and coverage work.
- `DebuggerTest::testIconPathOption` pointed at `../guide/image.png`, which does not exist in this repository, so `renderDebugbar()` threw `LogicException: Icon not found`. Repointed at `src/Views/exceptions/favicons/development.png`, a real PNG that is not the default debugbar icon, so the option is still meaningfully exercised.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@HafizMMoaz
HafizMMoaz merged commit 2e14eaa into main Jul 22, 2026
1 of 2 checks passed
@HafizMMoaz
HafizMMoaz deleted the fix/ci-failures branch July 22, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant