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

zendframework / zend-expressive-router / 88
100%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2016 01:44PM UTC
Jobs 1
Files 8
Run time 1s
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
88

Pull #29

travis-ci

web-flow
<a href="https://github.com/zendframework/zend-expressive-router/commit/<a class=hub.com/zendframework/zend-expressive-router/commit/da8c7438c6914bb54bf120b8d89fa5f08b5e55df">da8c7438c<a href="https://github.com/zendframework/zend-expressive-router/commit/da8c7438c6914bb54bf120b8d89fa5f08b5e55df">&quot;&gt;Revert &amp;quot;Clarify that HEAD and OPTIONS should ALWAYS be allowed&quot;

This reverts commit </a><a class="double-link" href="https://github.com/zendframework/zend-expressive-router/commit/<a class="double-link" href="https://github.com/zendframework/zend-expressive-router/commit/a81bf26435015cc28f2bc411460488e31ec2fd8f">a81bf2643</a>">a81bf2643</a><a href="https://github.com/zendframework/zend-expressive-router/commit/da8c7438c6914bb54bf120b8d89fa5f08b5e55df">.

Per #28, auto-adding the HEAD and OPTIONS methods to each route causes
`Zend\Expressive\Application` to raise an exception; additionally, when
working on zendframework/zend-expressive-fastroute#24, I noticed that
tests broke due to duplicate paths having the same HTTP method defined;
adding HEAD and/or OPTIONS was causing adding routes with GET to result
in exceptions.

There are other ways for the routers to accommodate this, which can be
done with the `implicitHead()` and `implicitOptions()` methods of the
routes themselves, or by opportunistically checking for any method to
match against a given path.
Pull Request #29: Revert "Clarify that HEAD and OPTIONS should ALWAYS be allowed"

8 of 8 new or added lines in 1 file covered. (100.0%)

98 of 98 relevant lines covered (100.0%)

6.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 88.1 (TEST_COVERAGE=true) 14 Dec 2016 01:43PM UTC 0
100.0
Travis Job 88.1
Source Files on build 88
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #88
  • Pull Request #29
  • PR Base - master (#86)
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