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

webonyx / graphql-php / 341
86%

Build:
DEFAULT BRANCH: master
Ran 26 Nov 2017 11:11AM UTC
Jobs 1
Files 160
Run time 5s
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
341

Pull #202

travis-ci

web-flow
Support non pre-parsed PSR-7 request body

Because PSR-7 specification only specify that `getParsedBody()` **may**
return the parsed body for `application/json`, we cannot assume that it
is always the case. So if the value returned parsed body is an empty array,
it means we should try to parse it ourselves (`null` would mean no body at
all according to spec).

With this modification we try to used given parsed body, but fallback on
trying to parse the body if necessary. This leave the door open to custom
implementation of parsing if needed, while making it easier to use out of
the box.
Pull Request #202: Support non pre-parsed PSR-7 request body

3 of 3 new or added lines in 1 file covered. (100.0%)

6592 of 7115 relevant lines covered (92.65%)

106.64 hits per line

Jobs
ID Job ID Ran Files Coverage
2 341.2 26 Nov 2017 11:07AM UTC 0
92.65
Travis Job 341.2
Source Files on build 341
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #341
  • Pull Request #202
  • PR Base - master (#330)
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