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

zfcampus / zf-content-negotiation / 215 / 2
64%
master: 64%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2017 04:18PM UTC
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

21 Nov 2017 04:17PM UTC coverage: 73.118%. Remained the same
DEPS=locked TEST_COVERAGE=true

Pull #100

travis-ci

web-flow
Allow using zend-console to determine if a CLI env is in play

This patch updates #86 to fix #98 by testing if the
`Zend\Console\Console` class is present and, if so, using the return
value of its `isConsole()` method to determine the current SAPI
environment. This approach allows overriding the environment for
purposes of unit testing incoming HTTP requests.

If the class is not available, we fallback to the `PHP_SAPI` value.
Pull Request #100: Allow using zend-console to determine if a CLI env is in play

408 of 558 relevant lines covered (73.12%)

9.29 hits per line

Source Files on job 215.2 (DEPS=locked TEST_COVERAGE=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 215
  • Travis Job 215.2
  • 412e388d on github
  • Prev Job for DEPS=locked TEST_COVERAGE=true on master (#212.2)
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