Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: change phpstan-type names #8211

Merged
merged 2 commits into from
Nov 14, 2023

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
60 checks passed
@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