-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 47850: Remove getRequest() in controllers
## What's being changed Our controllers. ## Why it's being changed - Using `$this->getRequest()` in controllers is not allowed - we have to use `$context->getRequest()`. - All controllers apart from admin ones no longer extend `\Magento\Framework\App\Action\Action` - I've resolved all PHPStan and PHPCS errors in our controllers. ## How to review / test this change - Test creating a new address book in Sync Settings - Test creating a new data field in Data Mapping - Test log viewer - Test mass deleting in any of our report views - Test exclusion rules (CRUD operations plus condition UI) - Run Automap Data Fields from Developer Settings - Run any reset button (include a date range) from Developer Settings - Run set up integration - Test email capture from checkout email field (POST on blur) - Test OAuth connection - Test microsite trial signup - Test subscriptions management via account - Test getbasket controller from abandoned cart EDC Related work items: #223644
- Loading branch information
Showing
22 changed files
with
463 additions
and
227 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
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.