Skip to content

Baseline MissingThrowsDocblock reported inside loops - #16

Merged
orklah merged 1 commit into
psalm:masterfrom
jirkace:baseline-throws-in-loops
Nov 8, 2026
Merged

orklah merged 1 commit into
psalm:masterfrom
jirkace:baseline-throws-in-loops

Conversation

@jirkace

@jirkace jirkace commented Nov 8, 2026

Copy link
Copy Markdown

Psalm reports MissingThrowsDocblock for exceptions thrown inside foreach, for and while loops once vimeo/psalm#13229 is merged; the 61 new ones are baselined so test-with-real-projects stays green.

The baseline only gains entries (nothing removed), so it is also harmless for Psalm versions without the change.

vimeo/psalm#13229 reports exceptions thrown inside foreach, for and while
loops with checkForThrowsDocblock.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@orklah
orklah merged commit b21cc33 into psalm:master Nov 8, 2026
8 of 12 checks passed
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