Skip to content

feat: add Model field casting #3107

feat: add Model field casting

feat: add Model field casting #3107

Triggered via pull request November 24, 2023 10:05
Status Failure
Total duration 2m 22s
Artifacts

test-psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingTemplateParam: system/DataConverter/Cast/ArrayCast.php#L22
system/DataConverter/Cast/ArrayCast.php:22:45: MissingTemplateParam: CodeIgniter\DataConverter\Cast\ArrayCast has missing template params when extending CodeIgniter\DataConverter\Cast\CastInterface, expecting 3 (see https://psalm.dev/182)
NoValue: system/DataConverter/Cast/CSVCast.php#L30
system/DataConverter/Cast/CSVCast.php:30:29: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: system/DataConverter/Cast/CSVCast.php#L39
system/DataConverter/Cast/CSVCast.php:39:29: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
UndefinedDocblockClass: system/DataConverter/Cast/CastInterface.php#L24
system/DataConverter/Cast/CastInterface.php:24:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named CodeIgniter\DataConverter\Cast\TDbColumn does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: system/DataConverter/Cast/CastInterface.php#L34
system/DataConverter/Cast/CastInterface.php:34:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named CodeIgniter\DataConverter\Cast\TPhpValue does not exist (see https://psalm.dev/200)
NoValue: system/DataConverter/Cast/DatetimeCast.php#L37
system/DataConverter/Cast/DatetimeCast.php:37:48: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: system/DataConverter/Cast/JsonCast.php#L39
system/DataConverter/Cast/JsonCast.php:39:35: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: system/DataConverter/Cast/URICast.php#L32
system/DataConverter/Cast/URICast.php:32:24: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: system/Database/BaseResult.php#L272
system/Database/BaseResult.php:272:61: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: system/Email/Email.php#L744
system/Email/Email.php:744:9: NoValue: All possible types for this return were invalidated - This may be dead code (see https://psalm.dev/179)