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

codeigniter4 / CodeIgniter4 / 28354285098 / 1
90%
develop: 89%

Build:
Build:
LAST BUILD BRANCH: email-tests-coverage
DEFAULT BRANCH: develop
Ran 29 Jun 2026 07:27AM UTC
Files 431
Run time 14s
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

29 Jun 2026 06:57AM UTC coverage: 89.115% (-0.003%) from 89.118%
28354285098.1

push

github

web-flow
feat: add strict field protection for Models (#10302)

* feat(model): add strict field protection

Add an opt-in Model setting that throws when write data contains fields
that would otherwise be discarded by allowed field protection.

- Add $strictFieldProtection and strictFieldProtection()
- Throw DataException for disallowed write fields in strict mode
- Preserve existing primary key and updateBatch index behavior
- Cover insert, save, update, batch, validation order, and protect(false)
- Document the new option and update the model generator template

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

* test: avoid SQLSRV identity update in strict protection test

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

* refactor: rename disallowed field exception mode

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

* fix: restore validation state on insert batch exception

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

---------

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

25027 of 28084 relevant lines covered (89.11%)

225.52 hits per line

Source Files on job 28354285098.1
  • Tree
  • List 431
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28354285098
  • c0ef3723 on github
  • Prev Job for on 4.8 (#28352816058.1)
  • Next Job for on 4.8 (#28418907354.1)
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