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

Mark all result methods in AbstractQuery as impure #634

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

paranoiq
Copy link
Contributor

@paranoiq paranoiq commented Dec 2, 2024

The main thing these methods do is a side effect. Methods in Collections are already marked as impure, so this should be nothing new.

This cannot be marked in local stub, because conflicting stub classes are a non-ingnorable error.

@paranoiq paranoiq changed the base branch from 2.0.x to 1.5.x December 2, 2024 11:19
@ondrejmirtes ondrejmirtes merged commit 231d3f7 into phpstan:1.5.x Dec 2, 2024
37 checks passed
@ondrejmirtes
Copy link
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.

2 participants