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

mixerapi / mixerapi-dev / 25708260621
88%

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

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

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

21 of 21 new or added lines in 2 files covered. (100.0%)

916 of 1043 relevant lines covered (87.82%)

3.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25708260621.1 12 May 2026 01:48AM UTC 65
87.82
GitHub Action Run
Source Files on build 25708260621
  • Tree
  • List 65
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 09ca9203 on github
  • Prev Build on master (#22523406635)
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