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

zfcampus / zf-content-negotiation / 215
64%

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

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

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