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

mixerapi / mixerapi-dev / 25708260621 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 12 May 2026 01:48AM UTC
Files 65
Run time 1s
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

12 May 2026 01:47AM UTC coverage: 87.824% (+0.4%) from 87.439%
25708260621.1

push

github

web-flow
Fix chained exceptions serializing as empty JSON objects (#164)

* Fix chained exceptions serializing as empty JSON objects

The exception chain collector stored raw Throwable objects in the
viewVars. Since Exception properties are protected and the class
does not implement JsonSerializable, json_encode produced {} for
each entry. Extract class, message, code (and file/line in debug
mode) into plain arrays so the chain is visible in JSON responses.

* Use SerializableException wrapper for backwards compatibility

Replace plain array serialization with a SerializableException class
that extends Exception and implements JsonSerializable. This preserves
the Throwable contract for event listeners on beforeRender while
producing structured JSON output. Also caps exception chain traversal
at 10 iterations.

* Fix PHPCS violations

- Avoid count() in loop condition (use depth counter)
- Add doc comments for __construct and jsonSerialize
- Remove space after (int) cast

916 of 1043 relevant lines covered (87.82%)

3.57 hits per line

Source Files on job 25708260621.1
  • Tree
  • List 65
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25708260621
  • 09ca9203 on github
  • Prev Job for on master (#22523406635.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc