Skip to content

refactor: use native phpdocs wherever possible #9571

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

Merged
merged 3 commits into from
May 24, 2025

Conversation

paulbalandan
Copy link
Member

Description
Replace @phpstan-var, @phpstan-param, @phpstan-return with native equivalents for better IDE integration. I note that some advanced PHPDocs are already understood in vscode.

Skipped @phpstan-type and usages with PHPStan types.

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

@paulbalandan paulbalandan added the refactor Pull requests that refactor code label May 21, 2025
@paulbalandan paulbalandan force-pushed the native-phpdocs branch 3 times, most recently from c75e234 to 6598fd7 Compare May 21, 2025 13:14
@paulbalandan paulbalandan merged commit 9b14ad9 into codeigniter4:develop May 24, 2025
49 checks passed
@paulbalandan paulbalandan deleted the native-phpdocs branch May 24, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Pull requests that refactor code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants