Skip to content

fix: [Validation] TypeError when using numeric field names#9142

Merged
kenjis merged 3 commits into
codeigniter4:developfrom
kenjis:fix-validation-numeric-field-name
Aug 27, 2024
Merged

fix: [Validation] TypeError when using numeric field names#9142
kenjis merged 3 commits into
codeigniter4:developfrom
kenjis:fix-validation-numeric-field-name

Conversation

@kenjis

@kenjis kenjis commented Aug 22, 2024

Copy link
Copy Markdown
Member

Description
See https://forum.codeigniter.com/showthread.php?tid=91483

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 added 3 commits August 23, 2024 08:25
TypeError: str_contains(): Argument #1 ($haystack) must be of type string, int given
@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 22, 2024
@kenjis kenjis changed the title fix: TypeError when using numeric field names fix: [Validation] TypeError when using numeric field names Aug 22, 2024
Comment thread tests/system/Validation/ValidationTest.php
@kenjis kenjis merged commit 82584a6 into codeigniter4:develop Aug 27, 2024
@kenjis kenjis deleted the fix-validation-numeric-field-name branch August 27, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants