TL;DR
/**
* @deprecated Instead use: {@see \Your\Namespace\YourClass::yourmethod}
*/
- vscode(intelephense) now only supports separate
@see
and class (still an open issue) - workaround:
/**
* @deprecated Consider using {@see \Your\Namespace\YourClass::yourmethod}
* @see \Your\Namespace\YourClass ::yourmethod
*/
The "hover" seems to be still bugged (1) (2), but clicking on separate FQN @see link in the class works.
Use FQN
You almost had it! But you have to prefix the method with at least the class name (and namespace), method parenthesis are optional.
I strongly recommend to use FQN(fully qualified name) (include the namespace).
It's not that self::
doesn't work, but with FQN, you will greatly increase readability for outsiders, especially if the new method is from a different class.
If you still don't want to use FQNs, at least use the class name explicitly.
Method parenthesis are optional. (separate) @see
seems to be more cross-IDE supported.