Skip to content

Support for @pure-unless-callable-is-impure #253

New issue

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

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

Already on ? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Sep 18, 2024

@staabmstaabm marked this pull request as ready for review September 18, 2024 14:10
@ondrejmirtes
Copy link
Member

Pinging some people in the community about an opinion first, stay tuned :)

@ondrejmirtes
Copy link
Member

Decided to go for it. Other suggestions similar to how Hack handles things are more general, but very complicated to do right now.

@ondrejmirtesondrejmirtes merged commit 6ca22b1 into phpstan:1.23.x Sep 26, 2024
56 of 57 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabmstaabm deleted the pure-cb branch September 26, 2024 07:55
@hrach
Copy link

What a missed opportunity to name it @pure-iff-callable-is-pure

@ondrejmirtes
Copy link
Member

iff is something math nerds use 😂

@hrach
Copy link

Maybe an alias? 😇

Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants