Skip to content

Apply fixes for (new) Psalm rules#38

Merged
timoschinkel merged 1 commit into
mainfrom
update-for-psalm-rules
May 4, 2026
Merged

Apply fixes for (new) Psalm rules#38
timoschinkel merged 1 commit into
mainfrom
update-for-psalm-rules

Conversation

@timoschinkel
Copy link
Copy Markdown
Owner

While running inspections a newer version of Psalm seemingly changed some rules, breaking on ClassMustBeFinal.

  • Mark NoMatchFoundException and UnableToParseException as final - this is a backwards compatible break
  • Add #[\Override] attributes - these methods are defined in an interface, and are therefore by definition overridden, but alas.

While running inspections a newer version of Psalm seemingly changed some rules, breaking on `ClassMustBeFinal`.

- Mark `NoMatchFoundException` and `UnableToParseException` as final - this is a backwards compatible break
- Add `#[\Override]` attributes - these methods are defined in an interface, and are therefore by definition overridden, but alas.
@timoschinkel timoschinkel merged commit b88da88 into main May 4, 2026
4 checks passed
@timoschinkel timoschinkel deleted the update-for-psalm-rules branch May 4, 2026 07:07
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.

1 participant