You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is anything after the URL, we treat it as the name of the link. So @link https://www.php.net/language.constants.predefined PHP Manual on magic constants will become [PHP Manual on magic constants](https://www.php.net/language.constants.predefined).
We ignore everything after the URL, so @link https://www.php.net/language.constants.predefined PHP Manual on magic constants will become [https://www.php.net/language.constants.predefined](https://www.php.net/language.constants.predefined).
I have a working implementation for option number 1, if we decide to go that route. We'd need to fix two @link tags in PHPCompatibility, which use parentheses. Example: @link https://wiki.php.net/rfc/horizontalreuse (traits)
Activity
afilina commentedon Mar 29, 2021
There are two possible solutions:
@link https://www.php.net/language.constants.predefined PHP Manual on magic constants
will become[PHP Manual on magic constants](https://www.php.net/language.constants.predefined)
.@link https://www.php.net/language.constants.predefined PHP Manual on magic constants
will become[https://www.php.net/language.constants.predefined](https://www.php.net/language.constants.predefined)
.I have a working implementation for option number 1, if we decide to go that route. We'd need to fix two
@link
tags in PHPCompatibility, which use parentheses. Example:@link https://wiki.php.net/rfc/horizontalreuse (traits)
jrfnl commentedon Mar 29, 2021
Based on the (un)official docs, the first solution would be the correct one. Fixing up those links in PHPCompatibility should be easy enough to do.
Refs: