Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Nov 14, 2023

Description
I propose to change the naming convention to @phpstan-type.
Using snake_case makes it easy to know it is not a classname.

By the way, I don't know why Psalm does not recognize @phpstan-type.

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

@kenjis kenjis merged commit 472391c into codeigniter4:develop Nov 14, 2023
@kenjis kenjis deleted the change-phpstan-type-naming branch November 14, 2023 22:14
@MGatner
Copy link
Member

MGatner commented Nov 20, 2023

I like this change. I definitely looked up one of those "classes" before I figured out what was going on 😅

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