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

zendframework / zend-diactoros / 829
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 26 Jun 2018 05:20PM UTC
Jobs 1
Files 39
Run time 5s
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
829

Pull #307

travis-ci

web-flow
Extract logic for marshaling host and port to dedicated function(s)

ADDS `Zend\Diactoros\getHeaderFromArray(string $name, array $headers,
$default = null)`, for extracting a value from a header array.

DEPRECATES `ServerRequestFactory::getHeader()`, and has it proxy to
`getHeaderFromArray()`.

ADDS `Zend\Diactoros\marshalHostAndPort(array $headers, array $server) :
array`, to allow detecting the host and port from either the request
headers or the SAPI environment.

DEPRECATES `ServerRequestFactory::marshalHostAndPortFromHeaders()`, and
has it proxy to `marshalHostAndPort(). It is no longer used internally.

REMOTES `ServerRequestFactory::marshalHostAndPortFromHeader()` and
`ServerRequestFactory::marshalIpv6HostAndPort()`. Both were private, and
are no longer called within `ServerRequestFactory`; the logic in each is
now embedded in `marshalHostAndPort()`.
Pull Request #307: Extract (private) functionality of ServerRequestFactory to functions

97 of 97 new or added lines in 8 files covered. (100.0%)

1226 of 1270 relevant lines covered (96.54%)

42.55 hits per line

Jobs
ID Job ID Ran Files Coverage
5 829.5 (DEPS=locked CHECK_CS=true TEST_COVERAGE=true) 26 Jun 2018 05:19PM UTC 0
96.54
Travis Job 829.5
Source Files on build 829
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #829
  • Pull Request #307
  • PR Base - develop (#813)
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