Skip to content

refactor(shop): rename PilotageSchemaManager to ShopSchemaManager - #55

Merged
Drago37 merged 1 commit into
developfrom
refactor/rename-schema-manager
Sep 22, 2026
Merged

Drago37 merged 1 commit into
developfrom
refactor/rename-schema-manager

Conversation

@Drago37

@Drago37 Drago37 commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Aligns the class name with its bounded context (it manages the Shop tables; the Pilotage prefix predated the Pilotage→Shop rename). The stored option key luziapi_pilotage_receipts_schema_version is kept unchanged (data, not code — renaming it would force a one-time re-migration in prod). Pure rename, no behaviour change.

The dashboard-feature names (PilotageController, PilotageTabs, admin/pilotage/ views, admin-pilotage.js) keep "Pilotage" on purpose — there it is the UI name of the dashboard, not the context.

Aligns the class name with its bounded context: it manages the Shop
context's tables, and the "Pilotage" prefix predated the Pilotage -> Shop
context rename. Pure rename, no behaviour change.

The stored option key `luziapi_pilotage_receipts_schema_version` is
deliberately left unchanged (it is data, not code — renaming it would
trigger a one-time re-migration in production).

The dashboard-feature names (PilotageController, PilotageTabs, the
admin/pilotage/ views, admin-pilotage.js) keep "Pilotage" on purpose:
there it is the UI name of the dashboard (« tableau de pilotage »), not
the bounded context — renaming them to "Shop" would be less clear.

Gates green: CS-Fixer, PHPStan (max), PHPUnit (348), e2e (schema, perf,
receipt).
@Drago37 Drago37 added the enhancement New feature or request label Sep 22, 2026
@Drago37 Drago37 self-assigned this Sep 22, 2026
@Drago37
Drago37 merged commit c32e7aa into develop Sep 22, 2026
6 checks passed
@Drago37
Drago37 deleted the refactor/rename-schema-manager branch September 22, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant