Skip to content

magento/magento2#23143: Code optimization for the offline shipping methods #23144

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

Conversation

atwixfirster
Copy link
Contributor

@atwixfirster atwixfirster commented Jun 5, 2019

Description (*)

PR keeps solution for #23143: Code optimization for the offline shipping methods.

Fixed Issues (if relevant)

  1. Code optimization for the offline shipping methods. #23143: Code optimization for the offline shipping methods.

Manual testing scenarios (*)

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Jun 5, 2019

Hi @atwixfirster. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@magento-engcom-team magento-engcom-team added Component: OfflineShipping Release Line: 2.3 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Jun 5, 2019
@dmytro-ch dmytro-ch self-requested a review June 5, 2019 18:34
@dmytro-ch dmytro-ch self-assigned this Jun 5, 2019
@dmytro-ch
Copy link
Contributor

Hi @atwixfirster,
once all the automated tests passed please squash all commits into a single one in order to clean up history. :)
Thank you!

@atwixfirster atwixfirster force-pushed the 23143-code-optimization-offline-shipping-methods branch from 801115c to 1c2bcb1 Compare June 5, 2019 21:21
@m2-assistant
Copy link

m2-assistant bot commented Jun 5, 2019

Hi @atwixfirster, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@atwixfirster atwixfirster reopened this Jun 5, 2019
@ghost ghost unassigned dmytro-ch Jun 5, 2019
@atwixfirster
Copy link
Contributor Author

Hi @atwixfirster,
once all the automated tests passed please squash all commits into a single one in order to clean up history. :)
Thank you!

@dmytro-ch , I think we can skip Static Test result here:

23144-01

because Magento\OfflineShipping\Model\Carrier\Pickup::collectRates implements function declaration from the parent class.

/**
     * @param RateRequest $request
     * @return \Magento\Shipping\Model\Rate\Result
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     */
    public function collectRates(RateRequest $request)
    {
        // Pickup shipping method is not supported in Magento2 yet.
        return false;
    }

Please review.

Thank you!

@magento-engcom-team
Copy link
Contributor

Hi @dmytro-ch, thank you for the review.
ENGCOM-5215 has been created to process this Pull Request

@soleksii
Copy link

soleksii commented Jun 6, 2019

✔️ QA Passed

@m2-assistant
Copy link

m2-assistant bot commented Aug 14, 2019

Hi @atwixfirster, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

taskula pushed a commit to Hypernova-Oy/magento2 that referenced this pull request Aug 14, 2019
@magento-engcom-team magento-engcom-team added this to the Release: 2.3.4 milestone Aug 14, 2019
@sidolov sidolov added the Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests label Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests Award: bug fix Component: OfflineShipping Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants