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

重複したステートメントを削除 #5066

Merged
merged 1 commit into from
Nov 16, 2021
Merged

重複したステートメントを削除 #5066

merged 1 commit into from
Nov 16, 2021

Conversation

kazuyoshikakihara
Copy link
Contributor

@kazuyoshikakihara kazuyoshikakihara commented Jun 15, 2021

概要(Overview・Refs Issue)

#5060

Service/OrderHelper.php に重複した行があったので片方を削除する

    public function removeSession()
    {
        $this->session->remove(self::SESSION_ORDER_ID);
        $this->session->remove(self::SESSION_ORDER_ID);

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@codecov-commenter
Copy link

Codecov Report

Merging #5066 (27a0bfd) into 4.0 (2fac33e) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                4.0    #5066      +/-   ##
============================================
- Coverage     76.20%   76.14%   -0.06%     
  Complexity     6124     6124              
============================================
  Files           437      437              
  Lines         20744    20743       -1     
============================================
- Hits          15807    15794      -13     
- Misses         4937     4949      +12     
Flag Coverage Δ
tests 76.14% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Eccube/Service/OrderHelper.php 95.56% <ø> (-0.03%) ⬇️
src/Eccube/Form/Type/AddCartType.php 73.68% <0.00%> (-5.27%) ⬇️
...be/Service/PurchaseFlow/Processor/TaxProcessor.php 79.62% <0.00%> (-3.71%) ⬇️
src/Eccube/Entity/Product.php 90.32% <0.00%> (-1.80%) ⬇️
src/Eccube/Service/OrderPdfService.php 94.68% <0.00%> (-0.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2fac33e...27a0bfd. Read the comment docs.

@okazy
Copy link
Contributor

okazy commented Jun 23, 2021

ありがとうございます!変更問題ないと思います。

@okazy okazy added this to the 4.0.x milestone Jun 23, 2021
@matsuoshi matsuoshi changed the base branch from 4.0 to 4.1 November 15, 2021 06:08
@matsuoshi matsuoshi modified the milestones: 4.0.x, 4.1.1 Nov 15, 2021
@matsuoshi matsuoshi merged commit 4f37014 into EC-CUBE:4.1 Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants