Conversation
`@link` should be used for linking things together. Here, a simple `@see` is correct IMO. Refs https://github.com/dereuromark/cakephp-ide-helper/blob/b6237cc03a50735bd43a5290e0a9e77972864208/config/app.example.php#L34
|
@see can be a URL or a FQSEN https://docs.phpdoc.org/guide/references/phpdoc/tags/see.html So in this case @link is fine imho since its more specific. |
|
No, the semantic meaning is different, and also link can and should be used for linking things together IMO.
See should be enough here, the fact that it can be FQCN and referencing internal files and methods does not disqualify its semantic use here. |
|
Also "Display a link to the documentation for an element"
IMO exactly what we want in these cases |
Which documentation says that? This is what is says for
So I don't see anything wrong with the current Phpunit may have hijacked this tag for it's own use. Also usage of phpdoc annotations is now deprecated in phpunit and it uses PHP attributes instead. |
|
Well, the IDEHelper now has to use |
|
I can add dereuromark/cakephp-ide-helper#392 for now, but would prefer if we used a consistent and helpful tag here, so that |
|
The core seems to also use both randomly. and for doc links: also in core code. |
@linkshould be used for linking things together. Here, a simple@seeis correct IMO.Refs https://github.com/dereuromark/cakephp-ide-helper/blob/b6237cc03a50735bd43a5290e0a9e77972864208/config/app.example.php#L34