Skip to content

refactor(termijn): rename Ingebrekestelling{Service,Controller} to NoticeOfDefault* - #818

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feat/english-vocabulary-notice-of-default-v2
Aug 12, 2026
Merged

refactor(termijn): rename Ingebrekestelling{Service,Controller} to NoticeOfDefault*#818
rubenvdlinde merged 1 commit into
developmentfrom
feat/english-vocabulary-notice-of-default-v2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Replaces #810.

#810 was branched from a stale stack. Its diff carried a dozen files that #803/#804/#806/#809/#816/#817 have since landed, so rebasing meant resolving 8 conflicts across controllers, services, tests and a Postman collection. Branched fresh from development, the same work is 40 references across 10 files with zero conflicts.

before after
IngebrekestellingService NoticeOfDefaultService
IngebrekestellingController NoticeOfDefaultController
registerIngebrekestelling() registerNoticeOfDefault()

Route names move, URLs do not

A route name resolves to its controller class, so ingebrekestelling#register had to become noticeOfDefault#register or the router 500s on that endpoint. Both were verified to resolve to NoticeOfDefaultController.php after the change.

The URLs stay /api/termijn/ingebrekestellingen — that is the published contract, and moving it is a breaking change for every consumer. Separate decision from this rename.

Not in this change

The ingebrekestelling schema in 60-termijnbewaking.json, its reference property, and the ingebrekestelling-ontvangen lifecycle enum value. The schema is a data contract needing an ownership check and a column migration; the enum value is stored data. Class names carry no data and move independently — which is exactly what makes this a clean slice.

Verification

  • 1882 tests, 6393 assertions green (5 skipped — baseline)
  • php -l clean on every changed file; the Postman collection still parses
  • Route names resolve — both noticeOfDefault#* map to a file that exists
  • Residual grep finds no IngebrekestellingService / IngebrekestellingController / registerIngebrekestelling anywhere in lib/, tests/ or appinfo/
  • phpcs: 6 errors against a 386-error baseline — my edit added 5, phpcbf fixed those and cleared pre-existing debt alongside them

Once this merges, #810 should be closed unmerged.

…ticeOfDefault*

Replaces #810, which was branched from a stale stack: its diff carried a dozen
files that #803/#804/#806/#809/#816/#817 have since landed, so rebasing it meant
resolving 8 conflicts across controllers, services, tests and a Postman
collection. Branched fresh from development this does the same work as a
40-reference change across 10 files with zero conflicts.

  IngebrekestellingService    -> NoticeOfDefaultService
  IngebrekestellingController -> NoticeOfDefaultController
  registerIngebrekestelling() -> registerNoticeOfDefault()

ROUTE NAMES MOVE, URLs DO NOT. A route name resolves to its controller class, so
`ingebrekestelling#register` had to become `noticeOfDefault#register` or the
router 500s on that endpoint. The URLs stay `/api/termijn/ingebrekestellingen`:
that is the published contract and moving it is a breaking change for every
consumer — a separate decision from this rename. Both route names were verified
to resolve to NoticeOfDefaultController.php after the change.

NOT IN THIS CHANGE: the `ingebrekestelling` SCHEMA in 60-termijnbewaking.json,
its reference property, and the `ingebrekestelling-ontvangen` lifecycle enum
value. The schema is a data contract — renaming it needs an ownership check and
a column migration, and the enum value is stored data. Class names carry no data
and move independently, which is why this is a clean slice.

VERIFIED
  - phpunit: 1882 tests, 6393 assertions green (5 skipped, same as baseline).
  - php -l clean on every changed file; the Postman collection still parses.
  - Route names resolve: both noticeOfDefault#* map to a file that exists.
  - Residual grep finds no IngebrekestellingService / IngebrekestellingController
    / registerIngebrekestelling anywhere in lib/, tests/ or appinfo/.
  - phpcs: 6 errors across the four changed files against a 386-error baseline.
    My edit added 5; phpcbf fixed those and cleared pre-existing debt with them.
@rubenvdlinde
rubenvdlinde merged commit 68dc772 into development Aug 12, 2026
28 of 29 checks passed
@rubenvdlinde
rubenvdlinde deleted the feat/english-vocabulary-notice-of-default-v2 branch August 12, 2026 09:49
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/procest @ 24a1ad8

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
check-vue3-compile
test-l10n
composer ✅ 100/100
npm ✅ 552/552
PHPUnit
Newman ⏭️
Playwright
Hydra gates

Quality workflow — 2026-08-12 10:05 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant