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

Only use last for condition to filter scope #3578

Open
wants to merge 1 commit into
base: 1.12.x
Choose a base branch
from

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Oct 18, 2024

Improves phpstan/phpstan#11872 but does not exactly what I hope would be possible. But with the way things currently work (going through conditions and filtering the scope) this might just not be achievable or worth it. So less precise type is better than more precise type that is wrong for me tbh :)

@herndlm herndlm changed the base branch from 2.0.x to 1.12.x October 18, 2024 20:05
@herndlm herndlm marked this pull request as draft October 18, 2024 20:21
@herndlm herndlm force-pushed the for-filter-last-part branch 3 times, most recently from e7479d7 to 2273a46 Compare October 18, 2024 21:11
@herndlm herndlm marked this pull request as ready for review October 18, 2024 21:20
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for 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.

2 participants