Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 22, 2026

allows detecting of dead code like

if ($flagState->yes()) {
	if ($flagState->no()) {
	}
}

@ondrejmirtes ondrejmirtes merged commit a448b24 into phpstan:2.1.x Jan 22, 2026
629 of 638 checks passed
@ondrejmirtes
Copy link
Member

Oh nice! Thank you.

@staabm staabm deleted the trin branch January 22, 2026 12:22
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