Skip to content

Regression test#1749

Merged
ondrejmirtes merged 3 commits intophpstan:1.8.xfrom
staabm:regress7594
Oct 2, 2022
Merged

Regression test#1749
ondrejmirtes merged 3 commits intophpstan:1.8.xfrom
staabm:regress7594

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Sep 23, 2022

@staabm staabm marked this pull request as ready for review September 23, 2022 13:27
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.

This test doesn't fail when the fix is reverted. You can't test "Parameter #1 $boolAbilities of class HelloWorld constructor expects" in TypesAssignedToPropertiesRuleTest.

@staabm staabm force-pushed the regress7594 branch 2 times, most recently from 2f801be to 2d8a8aa Compare October 2, 2022 16:13
@ondrejmirtes ondrejmirtes changed the title added regression test Regression test Oct 2, 2022
@ondrejmirtes ondrejmirtes merged commit fc0f990 into phpstan:1.8.x Oct 2, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you.

@staabm staabm deleted the regress7594 branch October 2, 2022 16:26
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.

array<0|1|2|3|4|5|6, value> does not accept array<int<0, 2>|int<4, 6>, value> (and similar)

3 participants