Skip to content

Update Spl methods with sideEffects #4129

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

Merged
merged 5 commits into from
Jul 21, 2025

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jul 20, 2025

Closes phpstan/phpstan#10884
Closes phpstan/phpstan#9180

Not sure I should have run the bin/generate-function-metadata.php.
I needed it to have tests working...

@VincentLanglet VincentLanglet changed the title SplObjectStorage::addAll/attach/detach/removeAll/removeAllExcept has sideEffects Update Spl methods with sideEffects Jul 20, 2025
@staabm
Copy link
Contributor

staabm commented Jul 21, 2025

maann you are on fire lately ;-).

great job.

@VincentLanglet
Copy link
Contributor Author

maann you are on fire lately ;-).

It was a good week/week end indeed :).
Now I'll focus on

@ondrejmirtes ondrejmirtes merged commit 13898d4 into phpstan:2.1.x Jul 21, 2025
414 of 419 checks passed
@ondrejmirtes
Copy link
Member

My inbox is also on fire 😂 Thank you!

@VincentLanglet
Copy link
Contributor Author

My inbox is also on fire 😂 Thank you!

Yeah... I didn't want to put pressure on you.
Thanks for all your review ! 🙏

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.

Count after calling SplObjectStorage::removeAll false positive when using SplQueue (and probably other Spl datastructures
3 participants