vimeo/psalm

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

Open

#9.807 geöffnet am 23. Mai 2023

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (668 Forks)batch import
Help wantedeasy problemsgood first issue

Repository-Metriken

Stars
 (5.369 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 12h) (5 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide