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

projek-xyz / container / 38076747083
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Oct 2026 06:41PM UTC
Jobs 2
Files 14
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

10 Oct 2026 06:40PM UTC coverage: 100.0%. Remained the same
38076747083

push

github

web-flow
feat: add `__debugInfo()` to hide some props of `Entry` and `Container` from `var_dump()` (#95)

- **`Entry`** — shows `decorators` (as a count — see review note below), `parameters`, `returnType`, 
  `value`. Hides `id` (it's already the dump's property key inside a `Container`), `auto`, `built`,
  `building`, and the child-specific `factory`. A cached **closure value** is shown as `{file:line}`
  provenance (or `{name}` for closures over internal functions) instead of the closure itself.
- **`AliasEntry`** — overrides to show **only** `factory` (the target id): its inherited props are
  noise — `parameters`/`returnType` are empty (no reflection at alias registration) and `value`
  duplicates the target entry's. The target id is a plain string, so it carries no closure-graph hazard.
- **`Container`** — shows only the registered entries as properties. Hides `entries` (the collector),
  `handler`, `deferredEvents`, and the self-referential `Container` / `ContainerInterface` auto
  entries. The `EventDispatcherInterface` default stays visible — it's a real, replaceable entry via
  `setEventDispatcher()`.

Both dumps stay bounded: with `factory` hidden (except `AliasEntry`'s string target), decorators
reported as a count, and closure values reduced to provenance, `var_dump()` never walks a closure graph
— both dumpers expose a `Closure`'s bound `$this` and `use`d variables (the OOM trap documented in
[projek-xyz/callable#4](https://github.com/projek-xyz/callable/pull/4)), so no closure of any kind
reaches the dump.

---------

Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>

10 of 10 new or added lines in 3 files covered. (100.0%)

207 of 207 relevant lines covered (100.0%)

17.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.4 - 38076747083.1 10 Oct 2026 06:41PM UTC 14
100.0
GitHub Action Run
2 php-8.5 - 38076747083.2 10 Oct 2026 06:41PM UTC 14
100.0
GitHub Action Run
Source Files on build 38076747083
  • Tree
  • List 14
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38076747083
  • 306484d3 on github
  • Prev Build on main (#38006868365)
  • Next Build on main (#38087360680)
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