Skip to content

Commit 49d7716

Browse files
authored
Merge pull request #151 from PHPCSStandards/docs/link-tags-add-descriptions
Docs: add description to `@link` tags
2 parents 78b095f + 7d82d99 commit 49d7716

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

PHPCSUtils/Tokens/Collections.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class Collections
202202
/**
203203
* Tokens for the PHP magic constants.
204204
*
205-
* @link https://www.php.net/language.constants.predefined
205+
* @link https://www.php.net/language.constants.predefined PHP Manual on magic constants
206206
*
207207
* @since 1.0.0
208208
*
@@ -287,7 +287,7 @@ class Collections
287287
/**
288288
* Tokens types used for "forwarding" calls within OO structures.
289289
*
290-
* @link https://www.php.net/language.oop5.paamayim-nekudotayim
290+
* @link https://www.php.net/language.oop5.paamayim-nekudotayim PHP Manual on OO forwarding calls
291291
*
292292
* @since 1.0.0
293293
*

PHPCSUtils/Utils/ControlStructures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public static function isElseIf(File $phpcsFile, $stackPtr)
213213
* control structure syntax into account, this method can be used to retrieve the
214214
* scope opener/closer for the declare statement.
215215
*
216-
* @link https://github.com/squizlabs/PHP_CodeSniffer/pull/2843
216+
* @link https://github.com/squizlabs/PHP_CodeSniffer/pull/2843 PHPCS PR #2843
217217
*
218218
* @since 1.0.0
219219
*

PHPCSUtils/Utils/Numbers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Numbers
7474
/**
7575
* Regex to determine whether the contents of an arbitrary string represents a float.
7676
*
77-
* @link https://www.php.net/language.types.float
77+
* @link https://www.php.net/language.types.float PHP Manual on floats
7878
*
7979
* @since 1.0.0
8080
*
@@ -157,8 +157,8 @@ class Numbers
157157
* are tokenized incorrectly - with the exception of PHPCS 3.5.3 as the buggyness of the original
158158
* backfill implementation makes it impossible to provide reliable results.
159159
*
160-
* @link https://github.com/squizlabs/PHP_CodeSniffer/issues/2546
161-
* @link https://github.com/squizlabs/PHP_CodeSniffer/pull/2771
160+
* @link https://github.com/squizlabs/PHP_CodeSniffer/issues/2546 PHPCS issue #2546
161+
* @link https://github.com/squizlabs/PHP_CodeSniffer/pull/2771 PHPCS PR #2771
162162
*
163163
* @since 1.0.0
164164
*

PHPCSUtils/Utils/Orthography.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Orthography
2727
/**
2828
* Characters which are considered terminal points for a sentence.
2929
*
30-
* @link https://www.thepunctuationguide.com/terminal-points.html
30+
* @link https://www.thepunctuationguide.com/terminal-points.html Punctuation guide on terminal points.
3131
*
3232
* @since 1.0.0
3333
*

PHPCSUtils/Utils/Variables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Variables
3838
*
3939
* @since 1.0.0
4040
*
41-
* @link http://php.net/reserved.variables
41+
* @link http://php.net/reserved.variables PHP Manual on reserved variables
4242
*
4343
* @var array <string> => <bool>
4444
*/

0 commit comments

Comments
 (0)