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

php-bug-catcher / reporter-bundle
77%
main: 77%

Build:
Build:
LAST BUILD BRANCH: v2.1.1
DEFAULT BRANCH: main
Repo Added 10 Sep 2024 01:22PM UTC
Files 17
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

LAST BUILD ON BRANCH v2.1.1
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.2.2
  • fix/stacktrace-throw-site
  • main
  • v2.0.3
  • v2.0.4
  • v2.1.0
  • v2.1.1

01 Sep 2026 07:58AM UTC coverage: 76.875% (+12.9%) from 63.971%
33487050779

push

github

tito10047
fix: include the throw site as the first stack trace frame

BugCatcher::logException() fed the raw getTraceAsString() into the frame
parser. That string never contains the throw site -- its #0 is already the
caller of the frame that threw -- so the frame where the exception actually
originated was missing and every frame appeared shifted by one.

The Monolog path worked around this by prepending a synthetic
"#0 file(line): message" text line in ErrorFormater and parsing it back, but
the vendor regex '/#\d+ (.*)\((\d+)\): (.*)/' is greedy: a message containing
"(1064): " swallowed the real file and line.

Build the first Codeframe straight from the Throwable instead. The new
ThrowSiteStacktrace extends the vendor parser to reuse its protected
isValidFile()/getTheCodeFromTheFile(), so the synthetic frame carries the same
code window as the parsed ones, and it also walks the getPrevious() chain,
which ErrorFormater used to drop entirely.

Both send paths now go through it: WriteStackTraceListener always, and
BugCatcherMonologHandler whenever context['exception'] holds a Throwable,
falling back to the formatted string otherwise. The payload format is
unchanged, so no server or config changes are needed.

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

23 of 26 new or added lines in 4 files covered. (88.46%)

3 existing lines in 1 file now uncovered.

123 of 160 relevant lines covered (76.88%)

17.33 hits per line

Relevant lines Covered
Build:
Build:
160 RELEVANT LINES 123 COVERED LINES
17.33 HITS PER LINE
Source Files on main
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33487050779 v2.1.1 fix: include the throw site as the first stack trace frame BugCatcher::logException() fed the raw getTraceAsString() into the frame parser. That string never contains the throw site -- its #0 is already the caller of the frame that threw -- so th... push 01 Sep 2026 08:27AM UTC tito10047 github
76.88
33484679483 main fix: include the throw site as the first stack trace frame BugCatcher::logException() fed the raw getTraceAsString() into the frame parser. That string never contains the throw site -- its #0 is already the caller of the frame that threw -- so th... push 01 Sep 2026 07:58AM UTC tito10047 github
76.88
33484252221 fix/stacktrace-throw-site Merge 1db055a3d into 706939e63 Pull #2 01 Sep 2026 07:53AM UTC web-flow github
76.88
33484194972 fix/stacktrace-throw-site fix: include the throw site as the first stack trace frame BugCatcher::logException() fed the raw getTraceAsString() into the frame parser. That string never contains the throw site -- its #0 is already the caller of the frame that threw -- so th... push 01 Sep 2026 07:52AM UTC tito10047 github
76.88
33049409328 v2.1.0 update README.md with usage details, Symfony compatibility, and typo fixes push 27 Aug 2026 07:22AM UTC tito10047 github
63.97
21328267305 1.2.2 update README.md with usage details, Symfony compatibility, and typo fixes push 25 Jan 2026 06:29AM UTC tito10047 github
63.97
21328256578 main update README.md with usage details, Symfony compatibility, and typo fixes push 25 Jan 2026 06:28AM UTC tito10047 github
63.97
21328199827 main migrate services configuration from XML to PHP, fix typo in "uri_catcher" push 25 Jan 2026 06:23AM UTC tito10047 github
63.97
21328133256 main update php version in CI push 25 Jan 2026 06:18AM UTC tito10047 github
63.97
21328119580 main update depenencies push 25 Jan 2026 06:16AM UTC tito10047 github
63.97
See All Builds (16)
  • Repo on GitHub
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