Skip to content

Fix infer new templated type from initial assign into static property - #3364

Merged
ondrejmirtes merged 10 commits into
phpstan:1.12.xfrom
mvorisek:fix_5551_template_assign_to_static_prop
Sep 18, 2024
Merged

ondrejmirtes merged 10 commits into
phpstan:1.12.xfrom
mvorisek:fix_5551_template_assign_to_static_prop

Conversation

@mvorisek

@mvorisek mvorisek commented Aug 27, 2024

Copy link
Copy Markdown
Contributor

@mvorisek mvorisek changed the title Fix infer new templated type from initial assign for static property Fix infer new templated type from initial assign into static property Aug 27, 2024
@mvorisek
mvorisek marked this pull request as ready for review August 27, 2024 09:31
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@mvorisek
mvorisek marked this pull request as draft September 10, 2024 15:27
@mvorisek
mvorisek marked this pull request as ready for review September 10, 2024 15:27
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes
ondrejmirtes merged commit 988f058 into phpstan:1.12.x Sep 18, 2024
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you.

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.

False positive Static property HelloWorld::$bug (WeakMap<stdClass, stdClass>) does not accept WeakMap<object, mixed>.

3 participants