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

改正商取引法の施行に伴うECカート「最終確認画面」表示項目の変更[#5304]について #5399

Merged
merged 45 commits into from
Jun 29, 2022

Conversation

sai-gillingham
Copy link
Contributor

概要(Overview・Refs Issue)

[#5304]
改正商取引法の施行に伴うECカート「最終確認画面」表示項目の変更

方針(Policy)

実装に関する補足(Appendix)

テスト(Test)

相談(Discussion)

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

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

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@sai-gillingham sai-gillingham changed the title Issue/5304 改正商取引法の施行に伴うECカート「最終確認画面」表示項目の変更[5304]について Jun 20, 2022
@sai-gillingham sai-gillingham changed the title 改正商取引法の施行に伴うECカート「最終確認画面」表示項目の変更[5304]について 改正商取引法の施行に伴うECカート「最終確認画面」表示項目の変更[#5304]について Jun 20, 2022

class TradeLawController extends AbstractController
{
private TradeLawRepository $tradeLawRepository;
Copy link
Contributor

Choose a reason for hiding this comment

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

他の Controller に合わせて protected でお願いします

/**
* @var TradeLawRepository
*/
private TradeLawRepository $tradeLawRepository;
Copy link
Contributor

Choose a reason for hiding this comment

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

他の Controller に合わせて protected でお願いします

Copy link
Contributor Author

@sai-gillingham sai-gillingham Jun 28, 2022

Choose a reason for hiding this comment

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

了解いたしました。ShoppingControllerクラスの変数と合わせて変数定義 [例 TradeLawRepository] を削除した方が良いでしょうか?

Copy link
Contributor Author

@sai-gillingham sai-gillingham Jun 28, 2022

Choose a reason for hiding this comment

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

Suggested change
private TradeLawRepository $tradeLawRepository;
protected $tradeLawRepository;

@nanasess
Copy link
Contributor

@sai-gillingham ご対応ありがとうございます! SQLite3 でテストが落ちていたので修正したのと、フロント側の特定商取引法のページを追加しました

@chihiro-adachi chihiro-adachi merged commit 28fc111 into EC-CUBE:4.2 Jun 29, 2022
@chihiro-adachi
Copy link
Contributor

@sai-gillingham
ご対応ありがとうございます。マージしました。

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.

3 participants