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

Trunkrs / Trunkrs-SDK-PHP / #74
93%

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

pending completion
#74

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

Jobs
ID Job ID Ran Files Coverage
1 #74.1 27 Nov 2020 01:34PM UTC 0
94.91
Source Files on build #74
Detailed source file information is not available for this build.
  • Back to Repo
  • b472490b on github
  • Prev Build on master
  • Next Build on master
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