Skip to content

fix(Cookie): validate cookie path and domain attributes #15706

fix(Cookie): validate cookie path and domain attributes

fix(Cookie): validate cookie path and domain attributes #15706

Triggered via pull request September 5, 2026 20:54
Status Failure
Total duration 32s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
27s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

2 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/Cookie/CookieTest.php#L579
Parameter #3 $options of class CodeIgniter\Cookie\Cookie constructor expects array{prefix?: string, max-age?: int|numeric-string, expires?: DateTimeInterface|int|string, path?: string, domain?: string, secure?: bool, httponly?: bool, samesite?: string, ...}, array{path: null, domain: null, prefix: null} given.