Skip to content

[TASK] Move order status and history into Domain\Order - #880

Merged
d-g-codappix merged 2 commits into
mainfrom
order-namespaces
Nov 23, 2026
Merged

d-g-codappix merged 2 commits into
mainfrom
order-namespaces

Conversation

@d-g-codappix

@d-g-codappix d-g-codappix commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Resolves: #879

Moves the classes of Extcode\Cart\OrderStatus and Extcode\Cart\OrderHistory to Extcode\Cart\Domain\Order\Status and Extcode\Cart\Domain\Order\History.

  • The old class names are aliases of the new ones (Migrations/Code/ClassAliasMap.php, loaded by typo3/class-alias-loader).
  • The services keep deprecated aliases in the service container (Configuration/Services.php).
  • Both will be removed in cart 13.0, see the deprecation in the changelog of 12.7.
  • DeprecatedClassAliasesTest checks all class and service aliases.

Contains the release commit for 12.7.0. extcode/cart_paypal and extcode/cart_girosolution switch to the new namespaces in their next releases (branches order-namespaces, requiring extcode/cart: ^12.7).

d-g-codappix and others added 2 commits November 23, 2026 17:20
The classes of the namespaces Extcode\Cart\OrderStatus and
Extcode\Cart\OrderHistory move to Extcode\Cart\Domain\Order\Status and
Extcode\Cart\Domain\Order\History. The old class names are aliases of the
new ones (Migrations/Code/ClassAliasMap.php), services keep deprecated
aliases in the service container. Both will be removed in cart 13.0.

Resolves: #879

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-g-codappix
d-g-codappix merged commit 115f366 into main Nov 23, 2026
25 checks passed
@d-g-codappix
d-g-codappix deleted the order-namespaces branch November 23, 2026 16:29
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.

Move the order status and the order history into the namespace Domain\Order

1 participant