Skip to content

feat: add un/serialize for currency #566

feat: add un/serialize for currency

feat: add un/serialize for currency #566

Triggered via pull request January 26, 2024 17:06
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

17 errors
PropertyTypeCoercion: src/Currency.php#L73
src/Currency.php:73:23: PropertyTypeCoercion: $this->code expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
UnusedMethodCall: src/Currency.php#L88
src/Currency.php:88:16: UnusedMethodCall: The call to Money\Currency::__unserialize is not used (see https://psalm.dev/209)
Psalm
Process completed with exit code 2.
PropertyTypeCoercion: src/Currency.php#L73
src/Currency.php:73:23: PropertyTypeCoercion: $this->code expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
UnusedMethodCall: src/Currency.php#L88
src/Currency.php:88:16: UnusedMethodCall: The call to Money\Currency::__unserialize is not used (see https://psalm.dev/209)
Build (8.1)
Process completed with exit code 2.
Build (8.3)
The job was canceled because "_8_1" failed.
PropertyTypeCoercion: src/Currency.php#L73
src/Currency.php:73:23: PropertyTypeCoercion: $this->code expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
UnusedMethodCall: src/Currency.php#L88
src/Currency.php:88:16: UnusedMethodCall: The call to Money\Currency::__unserialize is not used (see https://psalm.dev/209)
Build (8.3)
Process completed with exit code 2.
PropertyTypeCoercion: src/Currency.php#L73
src/Currency.php:73:23: PropertyTypeCoercion: $this->code expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
UnusedMethodCall: src/Currency.php#L88
src/Currency.php:88:16: UnusedMethodCall: The call to Money\Currency::__unserialize is not used (see https://psalm.dev/209)
Build lowest version
Process completed with exit code 2.
Build (8.2)
The job was canceled because "_8_1" failed.
PropertyTypeCoercion: src/Currency.php#L73
src/Currency.php:73:23: PropertyTypeCoercion: $this->code expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
UnusedMethodCall: src/Currency.php#L88
src/Currency.php:88:16: UnusedMethodCall: The call to Money\Currency::__unserialize is not used (see https://psalm.dev/209)
Build (8.2)
The operation was canceled.