Skip to content

composer update

composer update #53

Triggered via push February 8, 2025 17:33
Status Failure
Total duration 31s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidFalsableReturnType: src/Casts/MoneyCast.php#L34
src/Casts/MoneyCast.php:34:74: InvalidFalsableReturnType: The declared return type 'string' for Akaunting\Money\Casts\MoneyCast::set does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
FalsableReturnStatement: src/Casts/MoneyCast.php#L40
src/Casts/MoneyCast.php:40:16: FalsableReturnStatement: The declared return type 'string' for Akaunting\Money\Casts\MoneyCast::set does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyUnusedMethod: src/Currency.php#L281
src/Currency.php:281:21: PossiblyUnusedMethod: Cannot find any calls to method Akaunting\Money\Currency::getName (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Currency.php#L286
src/Currency.php:286:21: PossiblyUnusedMethod: Cannot find any calls to method Akaunting\Money\Currency::getCode (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Currency.php#L291
src/Currency.php:291:21: PossiblyUnusedMethod: Cannot find any calls to method Akaunting\Money\Currency::getRate (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Currency.php#L311
src/Currency.php:311:21: PossiblyUnusedMethod: Cannot find any calls to method Akaunting\Money\Currency::isSymbolFirst (see https://psalm.dev/087)
InvalidFalsableReturnType: src/Currency.php#L361
src/Currency.php:361:43: InvalidFalsableReturnType: The declared return type 'string' for Akaunting\Money\Currency::toJson does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
FalsableReturnStatement: src/Currency.php#L363
src/Currency.php:363:16: FalsableReturnStatement: The declared return type 'string' for Akaunting\Money\Currency::toJson does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyNullArgument: src/Money.php#L266
src/Money.php:266:77: PossiblyNullArgument: Argument 3 of str_replace cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUnusedMethod: src/Money.php#L403
src/Money.php:403:21: PossiblyUnusedMethod: Cannot find any calls to method Akaunting\Money\Money::equals (see https://psalm.dev/087)