pdt-eg / p2-mirror-dev

PDT Extension Group / Development p2 repository
8 stars 1 forks source link

Proposal: Show warning when type referenced in docBlock is not valid #17

Closed mcustiel closed 6 years ago

mcustiel commented 7 years ago

It would be nice that the semantic analysis shows a warning when a Class referenced in @var or @return or @param is invalid. For instance:

/**
 * @var MyClassName
 */
private $myProperty;

Should show a warning if MyClassName is not in the same namespace that the current class and was not included with a use statement.

zulus commented 6 years ago

This is already implemented in PDT