Skip to content

Added assertArrayHasKey() expectations#241

Merged
ondrejmirtes merged 1 commit into
phpstan:2.0.xfrom
staabm:fix
Oct 29, 2025
Merged

Added assertArrayHasKey() expectations#241
ondrejmirtes merged 1 commit into
phpstan:2.0.xfrom
staabm:fix

Conversation

@staabm

@staabm staabm commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

will be fixed when phpstan/phpstan-src#4473 is merged

closes #100

@staabm

staabm commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

memo to me: might also fix #231 - need to verify after phpstan-src PR merged

@staabm staabm marked this pull request as ready for review October 29, 2025 13:31
@staabm

staabm commented Oct 29, 2025

Copy link
Copy Markdown
Contributor Author

yay, fixed

@ondrejmirtes

ondrejmirtes commented Oct 29, 2025

Copy link
Copy Markdown
Member

Can you add a test for #231 and make sure it fails with current stable PHPStan release?

@staabm

staabm commented Oct 29, 2025

Copy link
Copy Markdown
Contributor Author

I tried reproducing the issue but wasn't able to get the reported problem

@ondrejmirtes

Copy link
Copy Markdown
Member

So we don't know whether and when it was fixed

@ondrejmirtes ondrejmirtes merged commit 450bfc0 into phpstan:2.0.x Oct 29, 2025
70 checks passed
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you!

@staabm staabm deleted the fix branch October 29, 2025 15:07
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.

AssertArrayHasKey seems to be not supported

2 participants