Skip to content

Allow specifying a custom default template type #12544

Allow specifying a custom default template type

Allow specifying a custom default template type #12544

Triggered via push January 19, 2024 11:53
Status Failure
Total duration 55s
Artifacts

shepherd.yml

on: push
Fit to window
Zoom out
Zoom in

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.