Fixes #177
Annotations
10 errors
PossiblyNullArgument:
src/Psalm/Internal/Codebase/InternalCallMapHandler.php#L249
src/Psalm/Internal/Codebase/InternalCallMapHandler.php:249:46: PossiblyNullArgument: Argument 1 of Psalm\Type::parseString cannot be null, possibly null value provided (see https://psalm.dev/078)
|
PossiblyInvalidPropertyAssignmentValue:
src/Psalm/Report/ByIssueLevelAndTypeReport.php#L169
src/Psalm/Report/ByIssueLevelAndTypeReport.php:169:34: PossiblyInvalidPropertyAssignmentValue: $this->link_format with declared type 'null|string' cannot be assigned possibly different type 'non-empty-array<array-key, mixed>|non-falsy-string' (see https://psalm.dev/147)
|
RiskyTruthyFalsyComparison:
src/Psalm/Report/ByIssueLevelAndTypeReport.php#L170
src/Psalm/Report/ByIssueLevelAndTypeReport.php:170:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|false|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PossiblyInvalidCast:
src/Psalm/Report/ByIssueLevelAndTypeReport.php#L174
src/Psalm/Report/ByIssueLevelAndTypeReport.php:174:23: PossiblyInvalidCast: non-empty-array<array-key, mixed> cannot be cast to string (see https://psalm.dev/190)
|
PossiblyInvalidArgument:
src/Psalm/Report/ByIssueLevelAndTypeReport.php#L174
src/Psalm/Report/ByIssueLevelAndTypeReport.php:174:23: PossiblyInvalidArgument: Argument 1 of strtr expects string, but possibly different type non-empty-array<array-key, mixed>|string provided (see https://psalm.dev/092)
|
PossiblyInvalidPropertyAssignmentValue:
src/Psalm/Report/ConsoleReport.php#L137
src/Psalm/Report/ConsoleReport.php:137:34: PossiblyInvalidPropertyAssignmentValue: $this->link_format with declared type 'null|string' cannot be assigned possibly different type 'non-empty-array<array-key, mixed>|non-falsy-string' (see https://psalm.dev/147)
|
RiskyTruthyFalsyComparison:
src/Psalm/Report/ConsoleReport.php#L138
src/Psalm/Report/ConsoleReport.php:138:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|false|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PossiblyInvalidCast:
src/Psalm/Report/ConsoleReport.php#L142
src/Psalm/Report/ConsoleReport.php:142:23: PossiblyInvalidCast: non-empty-array<array-key, mixed> cannot be cast to string (see https://psalm.dev/190)
|
PossiblyInvalidArgument:
src/Psalm/Report/ConsoleReport.php#L142
src/Psalm/Report/ConsoleReport.php:142:23: PossiblyInvalidArgument: Argument 1 of strtr expects string, but possibly different type non-empty-array<array-key, mixed>|string provided (see https://psalm.dev/092)
|
UnusedBaselineEntry:
src/Psalm/Internal/Codebase/InternalCallMapHandler.php#L1
src/Psalm/Internal/Codebase/InternalCallMapHandler.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 1 extra entry. (see https://psalm.dev/316)
|