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

valkyrjaio / valkyrja-php / 37719139000
100%

Build:
DEFAULT BRANCH: 26.x
Ran 08 Oct 2026 02:44AM UTC
Jobs 1
Files 1251
Run time 2min
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

08 Oct 2026 02:41AM UTC coverage: 100.0%. Remained the same
37719139000

push

github

web-flow
[Queue] feat!: Add the middleware and routing contracts (#971)

# Description

Add the contracts for the Queue middleware and routing sub-components,
and the config
contract of a queue application. Hoist `applicationName` onto the base
Application config
API, which is the one breaking change in the diff.

`RouteMatchedMiddlewareContract` names a routing `RouteContract`, so
neither set of
contracts stands alone. `QueueConfigContract` names the seven middleware
contracts, so it
lands with them.

A job carries the name of the application that pushed it, as provenance.
That name belongs
to every application rather than to the CLI alone, so `ConfigContract`
declares it and
`CliConfigContract` no longer owns it. `Cli::getInput()` narrows the
type with a bare
`@var`, because a static checker that reads a property hook declared on
an interface does
not read one that interface inherits.

The title carries `!` because `ConfigContract` is documented as directly
implementable and
the new parameter shifts the positional order of two public
constructors. No other
`valkyrjaio` PHP repository implements `ConfigContract` directly.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [x] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [x] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [x] Documentation improvement

## Changes

- **`Queue\Middleware`** — added the seven stage contracts, the handler
contracts, and the
  throwable contract.
- **`Queue\Routing`** — added the route, collection, collector, router,
route provider, and
  throwable contracts.
- **`Queue\Routing\Data`** — added `QueueRoutingData`, the generated
routing cache class
  that `RouteCollectionContract` names, with its test.
- **`Application/Data/Contract/QueueConfigContract.php`** — added the... (continued)

4 of 4 new or added lines in 2 files covered. (100.0%)

13070 of 13070 relevant lines covered (100.0%)

26.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37719139000.1 08 Oct 2026 02:44AM UTC 1251
100.0
GitHub Action Run
Source Files on build 37719139000
  • Tree
  • List 1251
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37719139000
  • 82b7d486 on github
  • Prev Build on 26.x (#37670102682)
  • Next Build on 26.x (#37724732714)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc