Skip to content

refactor: Use native return types instead of using #[ReturnTypeWillChange] #7471

refactor: Use native return types instead of using #[ReturnTypeWillChange]

refactor: Use native return types instead of using #[ReturnTypeWillChange] #7471

Triggered via pull request January 24, 2026 12:09
Status Failure
Total duration 2m 28s
Artifacts

test-psalm.yml

on: pull_request
Matrix: Psalm Analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Psalm Analysis (8.2)
Process completed with exit code 2.
MissingImmutableAnnotation: system/I18n/TimeTrait.php#L674
system/I18n/TimeTrait.php:674:5: MissingImmutableAnnotation: DateTimeImmutable::setTimezone is marked @psalm-external-mutation-free, but CodeIgniter\I18n\TimeTrait::setTimezone is not marked @psalm-external-mutation-free (see https://psalm.dev/213)
MissingImmutableAnnotation: system/I18n/TimeTrait.php#L246
system/I18n/TimeTrait.php:246:5: MissingImmutableAnnotation: DateTimeImmutable::createFromFormat is marked @psalm-external-mutation-free, but CodeIgniter\I18n\TimeTrait::createFromFormat is not marked @psalm-external-mutation-free (see https://psalm.dev/213)