Skip to content

Conversation

@michalsn
Copy link
Member

Description
This PR disables the ensureOverrideAttribute config item. Before, this was disabled by default, but changes in the recent release made this config enabled by default.

I'm open to discussing whether we should go with the default settings or disable it.

Details: https://psalm.dev/docs/running_psalm/issues/MissingOverrideAttribute/

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Copy link
Member

@paulbalandan paulbalandan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The #[\Override] attribute is PHP 8.3+ so I'm ok with this turned off.

@paulbalandan paulbalandan merged commit c699bb1 into codeigniter4:develop Feb 19, 2025
2 checks passed
@michalsn michalsn deleted the psalm-config branch June 30, 2025 06:08
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.

3 participants