Skip to content

Fix static analysis on Psalm 7.11 - #75

Merged
danog merged 1 commit into
masterfrom
psalm-7.11
Nov 19, 2026
Merged

danog merged 1 commit into
masterfrom
psalm-7.11

Conversation

@danog

@danog danog commented Nov 19, 2026

Copy link
Copy Markdown
Member

Psalm 7.11.0 reports PossiblyNullArgument for the $hook_type passed to registerHook(): it was only set for filters and actions, and the _deprecated_hook calls returned through a second preg_match(). The hook type is now decided once (null for _deprecated_hook), and the baseline loses the entries that no longer match ($hook_type, and two that 7.11 no longer reports).

@danog danog added the release:internal The PR will be included in 'Internal changes' section of the release notes label Nov 19, 2026
@danog
danog merged commit dcd9c55 into master Nov 19, 2026
5 checks passed
@danog
danog deleted the psalm-7.11 branch November 19, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:internal The PR will be included in 'Internal changes' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant