Skip to content

Avoid warning about non-nullable class-property in traits.#6100

Open
peter17 wants to merge 1 commit into
phpstan:2.2.xfrom
peter17:patch2
Open

Avoid warning about non-nullable class-property in traits.#6100
peter17 wants to merge 1 commit into
phpstan:2.2.xfrom
peter17:patch2

Conversation

@peter17

@peter17 peter17 commented Jul 25, 2026

Copy link
Copy Markdown

Credit: made with the help of Opus 5.
Fixes phpstan/phpstan#14416
This supersedes #5479

@peter17

peter17 commented Jul 25, 2026

Copy link
Copy Markdown
Author

Note: the failing tests seem unrelated to those changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warns too much about non-nullable class-property

1 participant