Extension for custom tags
Danil42Russia opened this issue · 0 comments
Danil42Russia commented
Description
It would be cool to see the extension for custom tags.
We have our own tags that describe Array shapes as in PhpStan:
/**
* @param tuple(T1, T2, ..., Tn) $tuple
* @param shape(k1:T1, k2:T2, ..., kn:Tn) $shape
*/Why?
I want to make an extension for PhpStan, which through TypeNodeResolverExtension, would be able to tell what type is here.
Problem
At the moment, the problem occurs while parsing a PhpDoc and does not reach the resolve call of TypeNodeResolverExtension.