Context
Two small DX/housekeeping items now that the tooling is on PHPUnit 10 / PHPStan 2 / Rector 2:
- No
CHANGELOG.md exists; the recent DX/upgrade work is only visible in git history.
- Tests still use PHPUnit doc-annotations (
@runInSeparateProcess, @preserveGlobalState disabled) — PHPUnit 10 supports PHP 8 attributes (#[RunInSeparateProcess], #[PreserveGlobalState(false)]), which are type-checked and won't silently no-op if mistyped.
tests/Unit/Invoice/Infrastructure/Middleware/CorsMiddlewareTest.php
tests/Unit/Invoice/Infrastructure/Handler/InvoiceExceptionHandlerTest.php
Goal
Add a changelog and modernize test metadata to attributes.
Scope / Tasks
Acceptance criteria
References
Context
Two small DX/housekeeping items now that the tooling is on PHPUnit 10 / PHPStan 2 / Rector 2:
CHANGELOG.mdexists; the recent DX/upgrade work is only visible in git history.@runInSeparateProcess,@preserveGlobalState disabled) — PHPUnit 10 supports PHP 8 attributes (#[RunInSeparateProcess],#[PreserveGlobalState(false)]), which are type-checked and won't silently no-op if mistyped.tests/Unit/Invoice/Infrastructure/Middleware/CorsMiddlewareTest.phptests/Unit/Invoice/Infrastructure/Handler/InvoiceExceptionHandlerTest.phpGoal
Add a changelog and modernize test metadata to attributes.
Scope / Tasks
CHANGELOG.mdfollowing Keep a Changelog. Seed it from the merged history: gacela 1.19 / router 0.13 upgrade, LUD-06prkey fix, CORS middleware + global exception handler,nostr.json→backends.jsonrename,BackendType/ConfigKey/addBackend, PHPUnit 10 / PHPStan 2 / Rector 2. Note the breaking changes (bolt11→pr, file rename).@runInSeparateProcess/@preserveGlobalState disableddoc-annotations to#[RunInSeparateProcess]/#[PreserveGlobalState(false)]attributes.Acceptance criteria
CHANGELOG.mdpresent and accurate.composer test-allgreen.References