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

valkyrjaio / valkyrja-php / 25523300647
100%

Build:
DEFAULT BRANCH: 26.x
Ran 07 May 2026 09:34PM UTC
Jobs 1
Files 1141
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

07 May 2026 09:33PM UTC coverage: 99.984%. Remained the same
25523300647

push

github

web-flow
[Cli] Add Header banner message class and update all commands to use it (#796)

# Description

Adds an `ICON` nowdoc constant (Valkyrie figure) to `ApplicationInfo`
and introduces a new `Valkyrja\Cli\Interaction\Message\Header` reusable
framed banner. Updates `VersionCommand`, `ListCommand`, and
`HelpCommand` to use it directly.

`VersionCommand` gains `--short` (bare version number) and `--plain`
(no-banner three-line format) options, with the default output rendering
the full `Header` banner.

---

## 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)_
- [ ] Documentation improvement

---

## Changes

- **`ApplicationInfo`** — added `ICON` nowdoc constant (Valkyrie figure)
- **`Valkyrja\Cli\Interaction\Message\Header`** — new reusable framed
banner message; all slots are constructor-promoted properties with
sensible defaults (`ApplicationInfo::ICON`, `getcwd()` for project root,
framework/PHP version constants); each slot has a `with*` immutable
setter
- **`VersionCommand`** — injects `CliConfigContract` + `RouteContract`;
adds `--short` (bare version number) and `--plain` (no-banner three-line
format) options; default output renders the `Header` banner
- **`ListCommand`** — replaces `VersionCommand` dependency with
`CliConfigContract`; uses `new Header(...)` directly
- **`HelpCommand`** — replaces `VersionCommand` dependency with
`CliConfigContract`; uses `new Header(...)` directly

90 of 90 new or added lines in 5 files covered. (100.0%)

12532 of 12534 relevant lines covered (99.98%)

15.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25523300647.1 07 May 2026 09:34PM UTC 1141
99.98
GitHub Action Run
Source Files on build 25523300647
  • Tree
  • List 1141
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25523300647
  • cc775b20 on github
  • Prev Build on 26.x (#25508064813)
  • Next Build on 26.x (#25523729578)
  • 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