refactor(entity): DateTime および Collection プロパティにネイティブ型宣言を追加#6569
Open
nanasess wants to merge 2 commits intoEC-CUBE:4.3-symfony7from
Open
refactor(entity): DateTime および Collection プロパティにネイティブ型宣言を追加#6569nanasess wants to merge 2 commits intoEC-CUBE:4.3-symfony7from
nanasess wants to merge 2 commits intoEC-CUBE:4.3-symfony7from
Conversation
- 全ての日付プロパティに nullable DateTime 型宣言 (?\DateTime $property = null) を追加 - Collection 型宣言を追加(PHPDoc のジェネリクス情報は型推論のため維持) - DateTime プロパティの冗長な PHPDoc @var アノテーションを削除 - Symfony 7/Doctrine ORM 3.x 互換性の向上 - Symfony Form の PRE_SET_DATA 初期化要件に対応 34個の Entity ファイルに一貫した型宣言パターンを適用。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…tity-type-declarations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Entityファイルの DateTime および Collection プロパティにPHP 8のネイティブ型宣言を追加しました。
変更内容
?\DateTime $property = null) を追加@varアノテーションを削除対象ファイル(34ファイル)
主要Entity
関連Entity
その他Entity
目的
修正パターン
DateTime型
Collection型
テスト計画
🤖 Generated with Claude Code