analyse/casts/unset-not-supported
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"casts/unset-not-supported" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
UnsetCastRule(phpstan-classes)cast.unset(phpstan)