vimeo/psalm

The issue message for the $<tmp coalesce var>101 is not understandable

Open

#9,807 创建于 2023年5月23日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)PHP (668 fork)batch import
Help wantedeasy problemsgood first issue

仓库指标

Star
 (5,369 star)
PR 合并指标
 (平均合并 3天 12小时) (30 天内合并 5 个 PR)

描述

https://psalm.dev/r/ec8201d718

The description of the issues is not understandable. The term $<tmp coalesce var>101 doesn't explain what's wrong exactly. The phrase $<tmp coalesce var>101 should be probably annotated differently.

ERROR: [RedundantCondition](https://psalm.dev/122) - 7:10 - Type array<array-key, mixed> for $<tmp coalesce var>101 is never null

ERROR: [TypeDoesNotContainNull](https://psalm.dev/090) - 7:33 - Cannot resolve types for $<tmp coalesce var>101 - array<array-key, mixed> does not contain null

贡献者指南