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

zendframework / zend-expressive / 989
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 18 Nov 2016 07:27PM UTC
Jobs 1
Files 35
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
989

Pull #396

travis-ci

web-flow
Ensure `Application::*_MIDDLEWARE` constants are honored within pipeline array specifications

Reported by @webimpress. He discovered that:

```php
$app->pipe([
    \Zend\Expressive\Application::ROUTING_MIDDLEWARE,
    \App\Middleware\MyMiddleware::class,
]);
```

would fail when piping, reporting an invalid middleware type
(`string[scalar]`) was provided. Previously, using configuration-driven
middleware, this would work, as the logic for parsing the configuration
would replace these instances with appropriate callbacks based on the
application instance.

This patch adds the same behavior to
`MarshalMiddlewareTrait::prepareMiddleware`.
Pull Request #396: Implement programmatic pipeline features

240 of 240 new or added lines in 11 files covered. (100.0%)

841 of 924 relevant lines covered (91.02%)

7.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
100.0
src/Middleware/WhoopsErrorResponseGenerator.php
7
100.0
src/MarshalMiddlewareTrait.php
23
100.0
src/ApplicationConfigInjectionTrait.php

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/MarshalMiddlewareTrait.php
2
100.0
src/Application.php
Jobs
ID Job ID Ran Files Coverage
2 989.2 (DEPS=locked TEST_COVERAGE=true DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)" PATH="$HOME/.local/bin:$PATH") 18 Nov 2016 07:26PM UTC 0
91.02
Travis Job 989.2
Source Files on build 989
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #989
  • Pull Request #396
  • PR Base - develop (#960)
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