Skip to content

Nullsafe operator false negative - RuleLevelHelper::findTypeToCheck - make null-safe shortcircuiting optional#687

Merged
ondrejmirtes merged 4 commits intophpstan:masterfrom
olsavmic:mo-nullsafe-shortcircuiting-optional
Oct 11, 2021
Merged

Nullsafe operator false negative - RuleLevelHelper::findTypeToCheck - make null-safe shortcircuiting optional#687
ondrejmirtes merged 4 commits intophpstan:masterfrom
olsavmic:mo-nullsafe-shortcircuiting-optional

Conversation

@olsavmic
Copy link
Copy Markdown
Contributor

@olsavmic olsavmic force-pushed the mo-nullsafe-shortcircuiting-optional branch 3 times, most recently from be93bda to 60ba530 Compare September 24, 2021 10:01
@olsavmic olsavmic marked this pull request as draft September 24, 2021 10:18
@olsavmic olsavmic force-pushed the mo-nullsafe-shortcircuiting-optional branch 2 times, most recently from e90ba5c to 54733e7 Compare September 26, 2021 17:56
@olsavmic olsavmic marked this pull request as ready for review September 26, 2021 18:03
@olsavmic olsavmic requested a review from ondrejmirtes October 5, 2021 17:20
@ondrejmirtes
Copy link
Copy Markdown
Member

@olsavmic If you replied to my comment, the message didn't go through.

@olsavmic
Copy link
Copy Markdown
Contributor Author

olsavmic commented Oct 6, 2021

@ondrejmirtes My bad, I forgot to submit the review comments :)

@olsavmic olsavmic force-pushed the mo-nullsafe-shortcircuiting-optional branch 5 times, most recently from 294425e to 10837ab Compare October 7, 2021 11:12
@olsavmic olsavmic force-pushed the mo-nullsafe-shortcircuiting-optional branch from 2f20de9 to 441a3cf Compare October 8, 2021 20:01
@olsavmic olsavmic requested a review from ondrejmirtes October 8, 2021 20:55
@ondrejmirtes ondrejmirtes merged commit ba3f7ed into phpstan:master Oct 11, 2021
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you, I really like this solution!

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.

Nullsafe operator false negatives - RuleLevelHelper::findTypeToCheck used in places where NULL removal is not desired

2 participants