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

PHP7.4 で notice が発生して再インストールできないのを修正 #4524

Merged
merged 1 commit into from
May 7, 2020

Conversation

nanasess
Copy link
Contributor

@nanasess nanasess commented Apr 23, 2020

概要(Overview・Refs Issue)

PHP7.4 で bin/console doctrine:schema:drop を実行した際に E_NOTICE が発生する。
APP_ENV=dev の場合は実行が停止してしまい、再インストールできない

$ bin/console doctrine:schema:drop --force

In EccubeExtension.php line 124:

  Notice: Undefined index: enabled

方針(Policy)

  • E_NOTICE の出ないよう修正する

テスト(Test)

  • APP_ENV=dev にて、bin/console doctrine:schema:drop が完了するのを確認

相談(Discussion)

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

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

レビュワー確認項目

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

@okazy okazy merged commit f7ae858 into EC-CUBE:4.0 May 7, 2020
@okazy okazy added this to the 4.0.4 milestone May 7, 2020
@okazy
Copy link
Contributor

okazy commented May 7, 2020

ありがとうございます、マージしました。

@nanasess nanasess deleted the fix-notice branch October 3, 2022 07:57
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