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

valkyrjaio / valkyrja-php / 36808413731
100%

Build:
DEFAULT BRANCH: 26.x
Ran 01 Oct 2026 03:01AM UTC
Jobs 1
Files 1211
Run time 4min
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 Oct 2026 02:59AM UTC coverage: 100.0%. Remained the same
36808413731

push

github

web-flow
[Crypt] feat: Add the sodium adapter config contract (#1331)

# Description

Give the sodium adapter its own config contract,
`CryptSodiumConfigContract`, because `SodiumCrypt` read its key from the
application config instead of from an adapter contract.
`CryptSodiumConfig` has no default key, because a key has no safe
default value. When the application config does not implement the
contract, the service provider gives the default config the application
key, so an application that keeps its config encrypts with the same key
as before.

`NullCrypt` has no settings, so it gets no contract.

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

## Changes

- **`CryptSodiumConfigContract`, `CryptSodiumConfig`** — the sodium
adapter contract and its default implementation.
- **`CryptServiceProvider`** — publishes the sodium config as its own
binding, and builds `SodiumCrypt` from it.
- **`README.md`** — documents the sodium config contract and its
binding.
- **Tests** — cover the new config and binding, and prove that the
configured key reaches `SodiumCrypt`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

20 of 20 new or added lines in 2 files covered. (100.0%)

13018 of 13018 relevant lines covered (100.0%)

26.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36808413731.1 01 Oct 2026 03:01AM UTC 1211
100.0
GitHub Action Run
Source Files on build 36808413731
  • Tree
  • List 1211
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36808413731
  • abc63627 on github
  • Prev Build on 26.x (#36808334073)
  • Next Build on 26.x (#36809015965)
  • 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