Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added regression test #3136

Merged
merged 2 commits into from
Jun 10, 2024
Merged

Added regression test #3136

merged 2 commits into from
Jun 10, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jun 10, 2024

as noted by @thg2k in #2812 (comment)

since #2812 a expected error is detected, which wasn't reported before.

just adding a regression test.


namespace CountArrayShift;

use function PHPStan\Testing\assertType;
Copy link
Member

Choose a reason for hiding this comment

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

No need to use this function here.

@ondrejmirtes ondrejmirtes merged commit 9cf4eb8 into phpstan:1.11.x Jun 10, 2024
89 of 102 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the test-count branch June 10, 2024 08:19
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.

2 participants