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

valkyrjaio / valkyrja-starter-app-php / 24948278064
0%

Build:
DEFAULT BRANCH: 26.x
Ran 26 Apr 2026 04:32AM UTC
Jobs 1
Files 28
Run time 1min
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

26 Apr 2026 04:31AM UTC coverage: 0.0%. Remained the same
24948278064

push

github

web-flow
[Application] Update route handlers to accept RouteContract (#33)

# Description

Updates all route handler methods in both the HTTP and CLI route
providers to accept a typed `RouteContract` (or `DynamicRouteContract`)
parameter instead of an untyped `array $arguments`. Dynamic route
parameters are now retrieved via the route object's typed API
(`$route->getParameter('value')->getValue()`), and the redundant
`$container->getSingleton(RouteContract::class)` call in
`dynamicHandler` is removed in favour of the injected `$route` directly.

Bumps `valkyrja/sindri` from `^26.0.0` to `^26.1.0` to pull in the
updated handler contract.

---

## Types of Changes

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

---

## Changes

- **`app/src/App/Cli/Provider/RouteProvider.php`** — added
`RouteContract $route` parameter to `testCommandHandler`; added
corresponding `use` import
- **`app/src/App/Http/Provider/RouteProvider.php`** — replaced `array
$arguments` with `RouteContract $route` on all handler methods; removed
now-unnecessary `@param` docblocks; updated `dynamicHandler` to fetch
the `value` parameter via `$route->getParameter('value')->getValue()`
and pass `$route` directly instead of resolving it from the container;
added `DynamicRouteContract` import
- **`composer.json`** — bumped `valkyrja/sindri` constraint from
`^26.0.0` to `^26.1.0`

0 of 10 new or added lines in 2 files covered. (0.0%)

0 of 288 relevant lines covered (0.0%)

0.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
0.0
0.0% app/src/App/Http/Provider/RouteProvider.php
1
0.0
0.0% app/src/App/Cli/Provider/RouteProvider.php
Jobs
ID Job ID Ran Files Coverage
1 24948278064.1 26 Apr 2026 04:32AM UTC 28
0.0
GitHub Action Run
Source Files on build 24948278064
  • Tree
  • List 28
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24948278064
  • 6da7300e on github
  • Prev Build on 26.x (#24942229141)
  • Next Build on 26.x (#24964425563)
  • Delete
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