Skip to content

Fix psalm errors

Fix psalm errors #122

Triggered via pull request February 25, 2024 17:11
Status Failure
Total duration 1m 1s
Artifacts

code_checks.yaml

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

Annotations

8 errors
DocblockTypeContradiction: src/Form/DataTransformer/MoneyToArrayTransformer.php#L64
src/Form/DataTransformer/MoneyToArrayTransformer.php:64:14: DocblockTypeContradiction: Docblock-defined type array<array-key, mixed> for $value is always array<array-key, mixed> (see https://psalm.dev/155)
MixedArgument: src/Form/DataTransformer/SimpleMoneyToArrayTransformer.php#L28
src/Form/DataTransformer/SimpleMoneyToArrayTransformer.php:28:39: MixedArgument: Argument 1 of Tbbc\MoneyBundle\Form\DataTransformer\MoneyToArrayTransformer::transform cannot be mixed, expecting Money\Money|null (see https://psalm.dev/030)
psalm
Process completed with exit code 2.
PHP 8.2 - 7.0.* - prefer-stable
Process completed with exit code 1.
PHP 8.1 - 6.4.* - prefer-stable
Process completed with exit code 1.
PHP 8.1 - 5.4.* - prefer-stable
Process completed with exit code 1.
PHP 8.1 - 5.4.* - prefer-lowest
Process completed with exit code 1.
PHP 8.3 - 7.0.* - prefer-stable
Process completed with exit code 1.