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

zfcampus / zf-content-negotiation / 211
64%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2017 04:52PM UTC
Jobs 1
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

pending completion
211

Pull #97

travis-ci

web-flow
Fixes uninitialized string offset error

As reported in #96, since #94 and the 1.3.1 release, if the body content
for a PUT, PATCH, or DELETE call is empty, an "Uninitialized string
offset: 0" notice is raised.

This patch adds tests missing from the original patch created for #94,
verifying that JSON deserialization occurs for those HTTP methods if the
content looks like JSON but no Content-Type header was present. The new
cases also include scenarios where no content is present. A fix is
introduced to the `ContentTypeListener` to ensure the notice is no
longer raised.
Pull Request #97: Fixes uninitialized string offset error

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

408 of 558 relevant lines covered (73.12%)

9.29 hits per line

Jobs
ID Job ID Ran Files Coverage
2 211.2 (DEPS=locked TEST_COVERAGE=true) 15 Nov 2017 04:51PM UTC 0
73.12
Travis Job 211.2
Source Files on build 211
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #211
  • Pull Request #97
  • PR Base - master (#208)
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