Skip to content

Ensure http_response_header is a list<string>#2959

Merged
ondrejmirtes merged 4 commits into
phpstan:1.11.xfrom
Seldaek:patch-8
May 30, 2024
Merged

Ensure http_response_header is a list<string>#2959
ondrejmirtes merged 4 commits into
phpstan:1.11.xfrom
Seldaek:patch-8

Conversation

@Seldaek

@Seldaek Seldaek commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

Not sure if that's the proper/best use of AccessoryArrayListType, but anyway I hope the intent is clear :)

@staabm

staabm commented Mar 8, 2024

Copy link
Copy Markdown
Contributor

since no test is failling after the change it seems we are missing a NodeScopeResolverTest with a type inference assertion for this variable :)

@staabm staabm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm - thank you

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ohh I think you are missing another assert for assertNativeType

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok hopefully I did this correctly :)

@ondrejmirtes
ondrejmirtes changed the base branch from 1.10.x to 1.11.x May 30, 2024 13:30
@ondrejmirtes
ondrejmirtes merged commit 316630e into phpstan:1.11.x May 30, 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.

3 participants