Skip to content

Comments

Declare Connection::fetch methods as impure#708

Merged
VincentLanglet merged 1 commit intophpstan:2.0.xfrom
VincentLanglet:fetchImpure
Feb 24, 2026
Merged

Declare Connection::fetch methods as impure#708
VincentLanglet merged 1 commit intophpstan:2.0.xfrom
VincentLanglet:fetchImpure

Conversation

@VincentLanglet
Copy link
Contributor

Similar to #685

This would avoid issue like this one phpstan/phpstan-phpunit#232 (comment)
(cc @greg0ire)

Another solution could be to merge phpstan/phpstan-src#4422 and use the new tag on the whole class.

@VincentLanglet VincentLanglet merged commit 44a216a into phpstan:2.0.x Feb 24, 2026
45 of 46 checks passed
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