Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUPESC-135: Deprecated ControllerProvider, added RouteProviderPlugin and updated code in accordance to code sniffer and phpstan. #16

Open
wants to merge 47 commits into
base: master
Choose a base branch
from

Conversation

Hantixs
Copy link

@Hantixs Hantixs commented Jul 26, 2022

Release Table

Module Release Type Constraint Updates
Easycredit minor

Module Easycredit

Change log

Improvements

  • Introduced EasycreditRouteProviderPlugin to be able to add an Easycredit success response endpoint to Router.
  • Adjusted EasycreditController::successEasycreditResponseAction() to use EasycreditRouteProviderPlugin instead of deprecated EasycreditControllerProvider.
  • Added ShopApplication module to dependencies.
  • Added Calculation module to dependencies.
  • Added Money module to dependencies.
  • Added Quote module to dependencies.
  • Added Transfer module to dependencies.
  • Introduced Payment.paymentSelection transfer property.
  • Introduced Payment.paymentProvider transfer property.
  • Introduced Payment.paymentMethod transfer property.
  • Introduced Quote.totals transfer property.
  • Introduced Quote.payment transfer property.
  • Introduced Quote.payments transfer property.
  • Introduced Quote.billingAddress transfer property.
  • Introduced Quote.items transfer property.
  • Introduced Quote.customer transfer property.
  • Introduced Quote.shippingAddress transfer property.
  • Introduced Quote.shipment transfer property.
  • Introduced Quote.expenses transfer property.
  • Introduced Expense transfer.
  • Introduced Totals transfer.
  • Introduced PaymentMethods transfer.
  • Introduced PaymentMethod transfer.
  • Introduced SaveOrder transfer.
  • Introduced Address transfer.
  • Introduced Customer transfer.
  • Introduced Shipment transfer.
  • Introduced Item transfer.

Deprecations

  • Deprecated EasycreditControllerProvider.

@Hantixs Hantixs changed the title SUPESC-135: Deprecated ControllerProvider and added RouteProviderPlugin. [WIP] SUPESC-135: Deprecated ControllerProvider and added RouteProviderPlugin. Jul 28, 2022
@Hantixs Hantixs changed the title [WIP] SUPESC-135: Deprecated ControllerProvider and added RouteProviderPlugin. SUPESC-135: Deprecated ControllerProvider, added RouteProviderPlugin and updated code in accordance to code sniffer and phpstan. Aug 4, 2022
@Hantixs Hantixs added bug Something isn't working request-review labels Aug 4, 2022
Copy link

@romanhavrylko romanhavrylko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@romanhavrylko romanhavrylko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adjust the changelogs

  1. src/SprykerEco/Yves/Easycredit/Plugin/Router/EasycreditRouteProviderPlugin.php -> EasycreditRouteProviderPlugin. Please also describe the functionality provided by this plugin.
  2. Deprecated src/SprykerEco/Yves/Easycredit/Plugin/Provider/EasycreditControllerProvider.php. -> Deprecated EasycreditControllerProvider plugin.
  3. src/SprykerEco/Yves/Easycredit/Controller/EasycreditController.php -> EasycreditController::successEasycreditResponseAction().
  4. src/SprykerEco/Yves/Easycredit/Plugin/Router/EasycreditRouteProviderPlugin.php -> EasycreditRouteProviderPlugin.
  5. src/SprykerEco/Yves/Easycredit/Plugin/Provider/EasycreditControllerProvider.php -> EasycreditControllerProvider.
  6. Usually, changelogs contain either the improvements or fixes section per module.
  7. Changes in EasycreditMapper should not be described in changelogs.

composer.json Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
Copy link

@DmitryLymarenko DmitryLymarenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does this PR contain 2 tickets?

@kkicheglovspryker
Copy link

Adjusted code in accordance to code-sniffer and phpstan.

This should not be on the change logs. Only high-level @api changes should be mentioned

@dereuromark
Copy link
Contributor

This was in review last year august with prio high
Whats the status on this now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working request-review
Development

Successfully merging this pull request may close these issues.

6 participants