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

codeigniter4 / CodeIgniter4 / 27526250084
88%

Build:
DEFAULT BRANCH: develop
Ran 15 Jun 2026 05:47AM UTC
Jobs 1
Files 401
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

15 Jun 2026 05:35AM UTC coverage: 88.292% (+0.005%) from 88.287%
27526250084

push

github

web-flow
fix: `env()` TypeError for non-string `$_SERVER` values + `esc()` fixes (#10305)

* fix: env() TypeError for non-string $_SERVER values + esc() fixes

- env(): guard non-string values (int argc, array argv in CLI) before
  strtolower() to prevent TypeError under declare(strict_types=1)

- esc(): propagate $encoding in recursive array calls (was ignored before),
  add early return after array processing, replace single static $escaper
  with static $escapers[] cache keyed by encoding

- tests: data-provider test for env() non-string types,
  three tests for esc() foreach reference leak

* Apply suggestion from @michalsn

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* Apply suggestion from @michalsn

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* Update system/Common.php

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* style: cs-fix

* test: add tests for esc() encoding changes and update changelog

* Update tests/system/CommonFunctionsTest.php

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* docs: move env/esc fix changelog entry to v4.7.4.rst

* docs: split Common changelog entry

---------

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

9 of 9 new or added lines in 1 file covered. (100.0%)

22187 of 25129 relevant lines covered (88.29%)

211.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27526250084.1 15 Jun 2026 05:47AM UTC 401
88.29
GitHub Action Run
Source Files on build 27526250084
  • Tree
  • List 401
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e793e58f on github
  • Prev Build on develop (#27498532211)
  • Next Build on develop (#27563637113)
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