yii2-apidoc icon indicating copy to clipboard operation
yii2-apidoc copied to clipboard

Misleading error about relative link in errors.txt

Open arogachev opened this issue 3 years ago • 3 comments
trafficstars

Found during running make download for site, UK language.

Using relative link (https://www.php.net/manual/en/function.PDOStatement-setFetchMode.php) but repoUrl is not set.

arogachev avatar Jan 12 '22 07:01 arogachev

Interesting. The link is definitely not relative.

samdark avatar Jan 12 '22 07:01 samdark

Yep, need to recheck #256. Not critical though, as I see.

arogachev avatar Jan 12 '22 07:01 arogachev

@arogachev api mark all absolute links as relative when $repoUrl is not set:

[12] => Array(
  [line] => 
  [file] => 
  [message] => Using relative link (https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md#upgrade-from-yii-2012) but repoUrl is not set.
    )
[13] => Array(
  [line] => 
  [file] => 
  [message] => Using relative link (https://www.php.net/manual/en/function.hash-algos.php) but repoUrl is not set.
)
[14] => Array(
  [line] => 
  [file] => 
  [message] => Using relative link (https://www.php.net/manual/en/function.hash-algos.php) but repoUrl is not set.
)

WinterSilence avatar Jun 19 '22 22:06 WinterSilence