Skip to content

Added regression test#2191

Merged
ondrejmirtes merged 2 commits intophpstan:1.10.xfrom
staabm:regres6776
Jan 20, 2023
Merged

Added regression test#2191
ondrejmirtes merged 2 commits intophpstan:1.10.xfrom
staabm:regres6776

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Jan 19, 2023

@ondrejmirtes
Copy link
Copy Markdown
Member

There's also 7075 please.

Copy link
Copy Markdown
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure you're seeing these tests fail first. My guess is that the second one is missing $this->treatPhpDocTypesAsCertain = false;.

@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Jan 20, 2023

I tested it on 1.9.x and it failed there. wasn't the best idea for this particular test though it seems ;)

@ondrejmirtes ondrejmirtes merged commit 5e5d1b5 into phpstan:1.10.x Jan 20, 2023
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you.

@staabm staabm deleted the regres6776 branch January 20, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants