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

elastic / elasticsearch-php / 72 / 3

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2014 06:40PM UTC
Files 105
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: 85.156% (-0.08%) from 85.236%
ES_VERSION=0.90.0 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.

2243 of 2634 relevant lines covered (85.16%)

23.32 hits per line

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