-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Switch hooks to PSR-14 events (#469)
* [TASK] Replace showCartActionAfterCartWasLoaded Hook with BeforeShowCartEvent Add BeforeShowCartEvent to CartPreviewController as well. Add some more Events in SessionHandler: - BeforeWriteAddressEvent, - AfterRestoreAddressEvent, - BeforeWriteCartEvent, and - AfterRestoreCartEvent * TASK: Replace MailAttachmentHook with AttachmentEvent * TASK: Add functional test for AttachmentEvent listeners * [TASK] Remove changeVariantDiscount from Domain\Model\Cart\BeVariant * [CLEANUP] Use PHP InvalidArgumentException * [TASK] Replace AddToCartFinisher hook with AddToCartFinisherEvent * [BUGFIX] Fix typo in documentation * [BUGFIX] Rename variable * [BUGFIX] Remove assignments after dispatching event * [CLEANUP] Rename settings variable * [CLEANUP] Remove event from service configuration According to the feature #94345 "Auto-detect event types" the configuration for the event has been removed. * [TASK] Add BillingAddress and ShippingAddress to BeforeShowCartEvent * [BUGFIX] Check for attachDocuments in TypoScript is true Closes: #452
- Loading branch information
Showing
35 changed files
with
865 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.