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

valkyrjaio / valkyrja-php / 27736668289
100%

Build:
DEFAULT BRANCH: 26.x
Ran 18 Jun 2026 04:28AM 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

18 Jun 2026 04:26AM UTC coverage: 100.0% (+0.05%) from 99.952%
27736668289

push

github

web-flow
[View] Add missing tests (#857)

# Description

Brings the framework to 100% phpunit coverage (was 99.94%). Two classes
had uncovered lines: the empty-provider branches in the application
kernel, and the closing brackets of two `??`-fallback default arrays in
the view service provider (which PHP never attributes coverage to).

---

## 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

- **`src/Valkyrja/View/Orka/Constant/OrkaReplacementCollection.php`** —
new constant class holding the `CORE` and `DEBUG` default Orka
replacement sets
- **`src/Valkyrja/View/Provider/ViewServiceProvider.php`** — reference
`OrkaReplacementCollection::CORE` / `::DEBUG` instead of inline default
arrays, eliminating the uncoverable closing-bracket lines
- **`tests/Tests/Unit/Application/Kernel/ApplicationTest.php`** — added
`testProviderGettersWithNoProviders()` covering the zero-provider `: []`
branches in all four provider getters
- **`tests/Tests/Unit/View/Provider/ServiceProviderTest.php`** — added
`testPublishOrkaRendererWithCustomReplacements()` covering the
env-provided replacements branch

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

12456 of 12456 relevant lines covered (100.0%)

15.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27736668289.1 18 Jun 2026 04:28AM UTC 1140
100.0
GitHub Action Run
Source Files on build 27736668289
  • Tree
  • List 1140
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27736668289
  • 4bf94720 on github
  • Prev Build on 26.x (#27731463900)
  • Next Build on 26.x (#27737080570)
  • 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