• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codeigniter4 / CodeIgniter4 / 25627887673
88%
develop: 88%

Build:
Build:
LAST BUILD BRANCH: chore-use-with-roots
DEFAULT BRANCH: develop
Ran 10 May 2026 12:05PM UTC
Jobs 1
Files 426
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 May 2026 11:46AM UTC coverage: 88.404% (+0.02%) from 88.388%
25627887673

push

github

web-flow
feat: add typed FormRequest accessors (#10158)

* feat(http): add typed FormRequest accessors

- Add typed helpers for reading validated integer, boolean, date, and enum values
- Keep accessors scoped to validated FormRequest data only
- Document expected validation/accessor responsibilities
- Cover defaults, null values, invalid values, dot syntax, and enum variants

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* refactor(validation): move typed access to ValidatedInput

- add ValidatedInput for typed access to validated data
- expose ValidatedInput from Validation and FormRequest
- keep FormRequest focused on request validation flow
- update docs and tests for the new typed input API

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* refactor(http): remove redundant enum guard

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* refactor(validation): split typed input access by responsibility

- Add generic InputData for typed access to keyed input data
- Move validation-specific accessors to ValidatedInput
- Return ValidatedInput from Validation and FormRequest APIs
- Add non-shared inputdata and validatedinput services
- Update docs, tests, changelog, and architecture rules

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* feat(input): add float typed accessor

- Add InputData::float() for numeric input values
- Cover float strings, integers, defaults, nulls, and invalid values
- Document float access with matching decimal validation examples

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* refactor(input): split raw and validated input behavior

- Return defaults for invalid raw InputData values
- Keep ValidatedInput strict through an override
- Cover fallback and strict behavior in tests
- Document the raw versus validated input trust levels

Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>

* fix(validation... (continued)

90 of 97 new or added lines in 6 files covered. (92.78%)

23839 of 26966 relevant lines covered (88.4%)

218.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
85.42
system/Validation/ValidatedInput.php
Jobs
ID Job ID Ran Files Coverage
1 25627887673.1 10 May 2026 12:05PM UTC 426
88.4
GitHub Action Run
Source Files on build 25627887673
  • Tree
  • List 426
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 49fda0b7 on github
  • Prev Build on 4.8 (#25505479992)
  • Next Build on 4.8 (#25627947112)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc