Skip to content

refactor: form request#10204

Open
michalsn wants to merge 1 commit into
codeigniter4:4.8from
michalsn:refactor/form-request
Open

refactor: form request#10204
michalsn wants to merge 1 commit into
codeigniter4:4.8from
michalsn:refactor/form-request

Conversation

@michalsn
Copy link
Copy Markdown
Member

Description
The main reason for this PR is to align FormRequest with the existing Validation API by using getValidated() and getValidatedInput() methods. It also removes the Individual field access, which is still available through getValidatedInput()->get() and getValidatedInput()->has().

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added refactor Pull requests that refactor code 4.8 PRs that target the `4.8` branch. labels May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.8 PRs that target the `4.8` branch. refactor Pull requests that refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants