Skip to content

[ユーザ管理] 項目設定の詳細編集画面でPHP8系のmatch式をswitch文に修正しました#2401

Merged
masaton0216 merged 1 commit intomasterfrom
fix-user-manage-match-to-switch
Apr 6, 2026
Merged

[ユーザ管理] 項目設定の詳細編集画面でPHP8系のmatch式をswitch文に修正しました#2401
masaton0216 merged 1 commit intomasterfrom
fix-user-manage-match-to-switch

Conversation

@masaton0216
Copy link
Copy Markdown
Contributor

概要

ユーザ管理>項目設定>詳細編集画面の条件付き表示設定で、PHP 8.0以降でのみ使用可能なmatch式が使われていたため、PHP 7.x環境でシンタックスエラーが発生していました。
match式をPHP 7.4互換のswitch文に変換し、動作を維持したまま互換性を確保しました。

レビュー完了希望日

不具合対応なので急ぎたいです

関連Pull requests/Issues

参考

DB変更の有無

無し

チェックリスト

@masaton0216 masaton0216 self-assigned this Apr 6, 2026
@masaton0216 masaton0216 added the bug バグ・不具合連絡 label Apr 6, 2026
@masaton0216 masaton0216 merged commit 1b12004 into master Apr 6, 2026
1 check passed
@masaton0216 masaton0216 deleted the fix-user-manage-match-to-switch branch April 6, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug バグ・不具合連絡

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant