Allow specifying a custom default template type/begin implementing @satisfies
#12546
Annotations
4 errors
RiskyTruthyFalsyComparison:
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php#L495
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php:495:17: RiskyTruthyFalsyComparison: Operand of type array<string, non-empty-array<string, Psalm\Type\Union>>|null contains type array<string, non-empty-array<string, Psalm\Type\Union>>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php#L551
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php:551:19: RiskyTruthyFalsyComparison: Operand of type array<string, non-empty-array<string, Psalm\Type\Union>>|null contains type array<string, non-empty-array<string, Psalm\Type\Union>>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
UnusedBaselineEntry:
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php#L1
src/Psalm/Internal/Analyzer/Statements/Expression/Call/NewAnalyzer.php:0:0: UnusedBaselineEntry: Baseline for issue "RiskyTruthyFalsyComparison" has 2 extra entries. (see https://psalm.dev/316)
|
build
Process completed with exit code 2.
|