Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for @pure-unless-parameter-passed #259

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

Open
staabm wants to merge 1 commit into phpstan:2.0.x
base: 2.0.x
Choose a base branch
Loading
from staabm:pure-cb-param

Conversation

Copy link
Contributor

@staabm staabm commented Nov 18, 2024

@staabm staabm marked this pull request as ready for review November 18, 2024 15:47
Copy link
Member

We already have other similar implementation lined up. There's @pure-unless-callable-is-impure which is implemented in the parser (#253) but not yet in PHPStan (phpstan/phpstan-src#3482).

It's not a great look when there's a tag understood by the parser but not by the analyser. I'd like to minimize that coming into the future. It'd be nice to also have the implementation ready in phpstan-src before merging the parser countepart.

I will look at this again when phpstan/phpstan-src#3482 is merged and the implementation for @pure-unless-parameter-passed is ready in phpstan-src.

staabm reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /