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

valkyrjaio / valkyrja-php / 30718780846
100%

Build:
DEFAULT BRANCH: 26.x
Ran 01 Aug 2026 09:18PM UTC
Jobs 1
Files 1138
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

01 Aug 2026 09:16PM UTC coverage: 100.0%. Remained the same
30718780846

push

github

web-flow
[Session] fix: Rename SmsServiceProvider to SessionServiceProvider (#1005)

# Description

The Session component's service provider carried the Sms component's
name. The file
`src/Valkyrja/Session/Provider/SmsServiceProvider.php` declared
`namespace Valkyrja\Session\Provider;`
and `class SmsServiceProvider`. A copy of
`src/Valkyrja/Sms/Provider/SmsServiceProvider.php` created
the wrong name.

The class registers Session services only. Its 16 publishers bind
`SessionContract`, `PhpSession`,
`NullSession`, `CacheSession`, `CookieParams`, and the other session
managers. No publisher binds an
SMS service. The sibling file in the same directory is already correct:
`SessionComponentProvider.php`.

The wrong name breaks the provider naming rule in `AGENTS.md` §4. A
provider takes the form
`ComponentName[SubComponent]TypeProvider`. The recursive uniqueness rule
exists because the generated
data-cache file references providers from many components at the same
time. Two classes named
`SmsServiceProvider` can collide there. This change removes the risk,
because `SmsServiceProvider`
now names one class only.

This change renames the class and deletes the old name. It adds no
deprecated alias. An alias keeps a
second `SmsServiceProvider` in the tree, which is the collision that the
uniqueness rule prevents. The
risk to an application is small. The old name describes a component that
the class does not serve, so
an application is unlikely to register the old name directly.

PHPArkitect does not catch this error. The taxonomy rules check the
`*ServiceProvider` name suffix and
the `Provider\` segment. The rules do not check the component-name
prefix. PHPArkitect passed before
this change and after it.

The Java port and the TypeScript port do not have the Session component
or the Sms component. This
change applies to PHP only.

The full CI gate passes. Line coverage and branch coverage stay at 100%.

## Types of changes

- [ ] Improvement _(non-breaking change which ... (continued)

1 of 0 new or added lines in 0 files covered. (NaN%)

12596 of 12596 relevant lines covered (100.0%)

23.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30718780846.1 01 Aug 2026 09:18PM UTC 1138
100.0
GitHub Action Run
Source Files on build 30718780846
  • Tree
  • List 1138
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30718780846
  • f1f9a6bb on github
  • Prev Build on 26.x (#30718318503)
  • Next Build on 26.x (#30719206477)
  • 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