Fix psalm errors #122
code_checks.yaml
on: pull_request
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.
|