Skip to content

Update Psalm to 6.16.1 to fix #[\Override] false positives#143

Merged
trowski merged 3 commits into
amphp:3.xfrom
webpatser:fix/psalm-override-attribute-php84
May 1, 2026
Merged

Update Psalm to 6.16.1 to fix #[\Override] false positives#143
trowski merged 3 commits into
amphp:3.xfrom
webpatser:fix/psalm-override-attribute-php84

Conversation

@webpatser
Copy link
Copy Markdown
Contributor

Summary

  • Psalm 6.15.1 reports InvalidAttribute errors for #[\Override] on PHP 8.4.19+
  • This breaks CI after GitHub's runner update from PHP 8.4.18 to 8.4.19
  • Psalm 6.16.1 resolves these false positives

Noticed while working on #142 — all PRs against 3.x will fail static analysis until this is merged.

Psalm 6.15.1 reports false InvalidAttribute errors for #[\Override]
on PHP 8.4.19+, breaking CI after GitHub runner updates.
- Replace ::set-output with $GITHUB_OUTPUT environment file
- Update nick-invision/retry from v2 to v3 (Node.js 24 compatible)
The project transferred from nick-invision to nick-fields. v4
supports Node.js 24, resolving the deprecation warnings.
@trowski trowski merged commit 19123cb into amphp:3.x May 1, 2026
5 checks passed
@trowski
Copy link
Copy Markdown
Member

trowski commented May 1, 2026

Thanks!

@trowski
Copy link
Copy Markdown
Member

trowski commented May 1, 2026

I didn't notice before I clicked merge, but FYI, the version being pinned was intentional. Allowing Psalm to be upgraded can result in new issues being found, which is a headache for PRs. Thus we prefer to update the Psalm version intentionally, fixing the new issues found after upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants