Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Oct 30, 2023

Description
Follow-up #8078

Type ?string still remains in system/Validation/Rules.php.
The differs and matches will be handled in #8122.

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

There is no guarantee that a string will be passed, so declaring strict types may result in a TypeError.
@kenjis kenjis added bug Verified issues on the current code behavior or pull requests that will fix them breaking change Pull requests that may break existing functionalities 4.5 labels Oct 30, 2023
@kenjis kenjis merged commit ea357ba into codeigniter4:4.5 Nov 3, 2023
@kenjis kenjis deleted the fix-traditional-validation-rule-param-types-2 branch November 3, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Pull requests that may break existing functionalities bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants