phan icon indicating copy to clipboard operation
phan copied to clipboard

PhanTypeInvalidArrayKeyLiteral not suppressed on class constant for `const X = [null => 'value'];`

Open TysonAndre opened this issue 4 years ago • 0 comments

The BlockVisitor and PreOrderAnalysisVisitor should handle this like visitClass and update the context to be the class context to get suppressions for the class constant, not the class

TysonAndre avatar Jun 30 '21 18:06 TysonAndre