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

valkyrjaio / valkyrja-php / 25406785063
100%

Build:
DEFAULT BRANCH: 26.x
Ran 05 May 2026 10:57PM UTC
Jobs 1
Files 1140
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

05 May 2026 10:55PM UTC coverage: 99.984%. Remained the same
25406785063

push

github

web-flow
[Http] Rename ResponseFactory(Contract) to RoutingResponseFactory(Contract) (#792)

# Description

Renames `ResponseFactoryContract` → `RoutingResponseFactoryContract` and
`ResponseFactory` → `RoutingResponseFactory` in the
`Valkyrja\Http\Routing\Factory` namespace, mirroring the same
disambiguation applied to the View layer. This eliminates the ambiguity
with
`Valkyrja\Http\Message\Response\Factory\Contract\ResponseFactoryContract`,
which previously required aliased imports at every call site.

As a side effect, `HttpRoutingServiceProvider` and its test no longer
need the aliased `as HttpMessageResponseFactory` import — they now
reference `ResponseFactoryContract` from the HTTP message layer
directly.

---

## Types of Changes

- [ ] 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)_
- [x] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

---

## Changes

-
**`src/Valkyrja/Http/Routing/Factory/Contract/RoutingResponseFactoryContract.php`**
— renamed from `ResponseFactoryContract`; interface name updated to
match
- **`src/Valkyrja/Http/Routing/Factory/RoutingResponseFactory.php`** —
renamed from `ResponseFactory`; class name, implemented interface, and
aliased import updated to match
-
**`src/Valkyrja/Http/Routing/Provider/HttpRoutingServiceProvider.php`**
— updated imports, publishers key, `publishRouter`, and
`publishResponseFactory` to use the new names; removed now-unnecessary
alias for `HttpMessageResponseFactory`
-
**`tests/Tests/Classes/Application/Data/HttpTestContainerDataClass.php`**
— replaced aliased import with direct `RoutingResponseFactoryContract`
- **`tests/Tests/Unit/Application/Entry/Abstract/AppTest.php`** —
replaced aliased import and assertion to use
`RoutingResponseFac... (continued)

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

12463 of 12465 relevant lines covered (99.98%)

15.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25406785063.1 05 May 2026 10:57PM UTC 1140
99.98
GitHub Action Run
Source Files on build 25406785063
  • Tree
  • List 1140
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25406785063
  • db2b4f24 on github
  • Prev Build on 26.x (#25404996180)
  • Next Build on 26.x (#25407412492)
  • 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