Skip to content

test: ensure all test methods have native return types#9565

Merged
paulbalandan merged 1 commit intocodeigniter4:developfrom
paulbalandan:tests-all-with-return-types
May 18, 2025
Merged

test: ensure all test methods have native return types#9565
paulbalandan merged 1 commit intocodeigniter4:developfrom
paulbalandan:tests-all-with-return-types

Conversation

@paulbalandan
Copy link
Member

Description
Enforce the phpdoc_to_return_type fixer to the tests. I have to manually fix some transformations particularly on unions with false changing to bool.

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 testing Pull requests that changes tests only label May 17, 2025
@paulbalandan paulbalandan merged commit e7898a0 into codeigniter4:develop May 18, 2025
47 checks passed
@paulbalandan paulbalandan deleted the tests-all-with-return-types branch May 18, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Pull requests that changes tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments