Skip to content

Conversation

@ondrejmirtes
Copy link
Member

No description provided.

@ondrejmirtes
Copy link
Member Author

/cc @staabm Can you try 2.1.31 with this enabled on your projects? I wonder how if the errors are legit now. I improved UnionType with how I think the traverse callback should called (6597ef6).

@staabm
Copy link
Contributor

staabm commented Oct 10, 2025

@ondrejmirtes do you have a reference in which PR we talked about the mentioned problems. I can't remember/find it in which context I tested this before.

@ondrejmirtes
Copy link
Member Author

@staabm I don't think so, just this one phpstan/phpstan#13482 but it's not about a nested type.

@staabm
Copy link
Contributor

staabm commented Oct 12, 2025

checked 5 different projects and could not find a false positive

@ondrejmirtes ondrejmirtes marked this pull request as ready for review October 12, 2025 07:48
@ondrejmirtes ondrejmirtes merged commit 54a5bd6 into 2.1.x Oct 12, 2025
541 of 552 checks passed
@ondrejmirtes ondrejmirtes deleted the report-nested-too-wide branch October 12, 2025 07:48
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes
Copy link
Member Author

Alright, let's try this again. I'm a little bit worried about this being too annoying still, even if there aren't false positives.

@staabm
Copy link
Contributor

staabm commented Oct 12, 2025

just found a false positive in phpstan/phpstan#13676

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.

4 participants