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

elastic / elasticsearch-php / 72 / 7

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2014 06:43PM UTC
Files 106
Run time –
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

03 Jan 2014 06:23PM UTC coverage: 88.406% (-0.01%) from 88.418%
ES_VERSION=0.90.2 ES_TEST_HOST=http://localhost:9200

push

travis-ci

polyfractal
Encode proper JSON objects when body is empty

PHP's json encoder will encode an empty array object as "[]",
which is not valid JSON.  This fix manually converts the "[]"
to a "{}", which is a valid, empty JSON object.

Note: We cannot use FORCE_JSON_OBJECT with json_encode,
since that will butcher real arrays inside the object.

2341 of 2648 relevant lines covered (88.41%)

24.45 hits per line

Source Files on job 72.7 (ES_VERSION=0.90.2 ES_TEST_HOST=http://localhost:9200)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 72
  • Travis Job 72.7
  • f681e56e on github
  • Prev Job for ES_VERSION=0.90.2 ES_TEST_HOST=http://localhost:9200 on master (#71.9)
  • Next Job for ES_VERSION=0.90.2 ES_TEST_HOST=http://localhost:9200 on master (#73.7)
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