Update rector/rector requirement from ^0.19.0 to ^1.0.0 #636
Annotations
6 errors
InvalidNullableReturnType:
src/SimpleMessageFormatter.php#L65
src/SimpleMessageFormatter.php:65:71: InvalidNullableReturnType: The declared return type 'string' for Yiisoft\Translator\SimpleMessageFormatter::pluralize is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
|
NullableReturnStatement:
src/SimpleMessageFormatter.php#L90
src/SimpleMessageFormatter.php:90:16: NullableReturnStatement: The declared return type 'string' for Yiisoft\Translator\SimpleMessageFormatter::pluralize is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
|
PossiblyUndefinedArrayOffset:
src/SimpleMessageFormatter.php#L90
src/SimpleMessageFormatter.php:90:31: PossiblyUndefinedArrayOffset: Possibly undefined array key $map['one'] on array{one?: string, other?: string} (see https://psalm.dev/167)
|
PossiblyUndefinedArrayOffset:
src/SimpleMessageFormatter.php#L90
src/SimpleMessageFormatter.php:90:56: PossiblyUndefinedArrayOffset: Possibly undefined array key $map['other'] on array{one?: string, other?: string} (see https://psalm.dev/167)
|
RiskyTruthyFalsyComparison:
src/Translator.php#L132
src/Translator.php:132:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
|