• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

php-bug-catcher / bug-catcher / 33502827443
85%
main: 84%

Build:
Build:
LAST BUILD BRANCH: 1.5.1
DEFAULT BRANCH: main
Ran 01 Sep 2026 11:31AM UTC
Jobs 1
Files 52
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Sep 2026 11:09AM UTC coverage: 84.965% (+0.09%) from 84.876%
33502827443

push

github

tito10047
fix(detail): keep shortening trace paths when a frame is not a path

A single frame whose `file` is not a path -- a "Caused by: ..." label, an
`[internal function]` marker, an empty string left by a half-parsed trace line --
dropped the common prefix to nothing, so every other frame was rendered with the
full deploy path of the reporting server. The prefix is now derived only from
frames that look like paths, and stripped only from those.

Two more failure modes fixed on the way:

  * the prefix was seeded from `trace[0]`, so any frame array that was not zero
    indexed produced a null prefix and, again, full paths;
  * `strrpos($prefix, '/')` found nothing in Windows paths, which disabled
    shortening for them -- a regression from the directory boundary cut in the
    previous commit. Both separators are now honoured.

Stripping uses substr() behind a str_starts_with() guard instead of str_replace(),
which would also have rewritten an occurrence of the prefix in the middle of a
path.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

21 of 22 new or added lines in 1 file covered. (95.45%)

1 existing line in 1 file now uncovered.

859 of 1011 relevant lines covered (84.97%)

6.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.24
0.79% src/Twig/Components/Detail/StackTrace.php

Coverage Regressions

Lines Coverage ∆ File
1
95.24
0.79% src/Twig/Components/Detail/StackTrace.php
Jobs
ID Job ID Ran Files Coverage
1 33502827443.1 01 Sep 2026 11:31AM UTC 52
84.97
GitHub Action Run
Source Files on build 33502827443
  • Tree
  • List 52
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ab19351e on github
  • Prev Build on 1.5.1 (#33502827447)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc