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

Trunkrs / Trunkrs-SDK-PHP / #74 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2020 01:34PM UTC
Files 25
Run time 2s
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

27 Nov 2020 01:34PM UTC coverage: 94.911%. Remained the same
#74.1

push

github

web-flow
Prevent Undefined Properties (#22)

* Prevent Undefined Properties

This solves two problems.
1. The json result of the listing of webhooks, doesn't containt an url property. See https://docs.trunkrs.nl/docs/v1-api-documentation/reference/Trunkrs-Client-API.v1.yaml/paths/~1webhooks/get. If no url property is set, a default empty string will be used.
2. The json result doesn't containt a createdAt property. It's created_at poperty. This should solve issue #21 

With these fixes i was able to create, list and delete webhooks (live environment)

* Set $webhook->callbackUrl to null

Set $webhook->callbackUrl to null instead of empty string if $json->url is not set

* Fake webhook body response

Webhook body response didn't match actual response.
See: https://docs.trunkrs.nl/docs/v1-api-documentation/reference/Trunkrs-Client-API.v1.yaml/components/schemas/Webhook

373 of 393 relevant lines covered (94.91%)

9.3 hits per line

Source Files on job #74.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 74
  • b472490b on github
  • Prev Job for on master (##71.1)
  • Next Job for on master (##77.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