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

azjezz / psl / 7555415465
98%

Build:
DEFAULT BRANCH: next
Ran 17 Jan 2024 12:06PM UTC
Jobs 1
Files 723
Run time 53s
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

17 Jan 2024 12:05PM UTC coverage: 99.013% (+0.001%) from 99.012%
7555415465

push

github

web-flow
Added support for coercing `stdClass` to `array<TKey, TValue>` (#437)

Fixes #436

This change is useful when decoding JSON hashmaps into PHP hashmaps, since PHP keeps
JSON-decoded data as an `stdClass` unless explicitly told to do so.

Also note that preserving JSON structures as `stdClass` is sometimes very much required,
since an empty hashmap is a lossy conversion to `[]` performed by `json_decode()`, when
using `associative: true`. This patch makes preserving JSON data structures a bit easier.

This adds some very minimal overhead to `ShapeType#coerce()`, which should be imperceptible.

4213 of 4255 relevant lines covered (99.01%)

49.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7555415465.1 17 Jan 2024 12:06PM UTC 723
99.01
GitHub Action Run
Source Files on build 7555415465
  • Tree
  • List 723
  • Changed 28
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a4e77b1 on github
  • Prev Build on next (#7355812555)
  • Next Build on next (#7570813555)
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

© 2025 Coveralls, Inc