Skip to content

Commit d05a79d

Browse files
authored
Merge pull request #146 from PHPCSStandards/feature/docs-use-language-agnostic-link-php-manual
Docs: use language agnostic links to the PHP manual
2 parents 675e399 + 770b278 commit d05a79d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

PHPCSUtils/Tokens/Collections.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class Collections
204204
*
205205
* @since 1.0.0
206206
*
207-
* @link https://www.php.net/manual/en/language.constants.predefined.php.
207+
* @link https://www.php.net/language.constants.predefined
208208
*
209209
* @var array <int|string> => <int|string>
210210
*/
@@ -287,7 +287,7 @@ class Collections
287287
/**
288288
* Tokens types used for "forwarding" calls within OO structures.
289289
*
290-
* @link https://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
290+
* @link https://www.php.net/language.oop5.paamayim-nekudotayim
291291
*
292292
* @since 1.0.0
293293
*

PHPCSUtils/Utils/NamingConventions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class NamingConventions
2424
/**
2525
* Regular expression to check if a given identifier name is valid for use in PHP.
2626
*
27-
* @link http://php.net/manual/en/language.variables.basics.php
28-
* @link http://php.net/manual/en/language.constants.php
29-
* @link http://php.net/manual/en/functions.user-defined.php
30-
* @link http://php.net/manual/en/language.oop5.basic.php
27+
* @link https://www.php.net/language.variables.basics
28+
* @link https://www.php.net/language.constants
29+
* @link https://www.php.net/functions.user-defined
30+
* @link https://www.php.net/en/language.oop5.basic
3131
*
3232
* @since 1.0.0
3333
*

PHPCSUtils/Utils/Numbers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Numbers
7171
/**
7272
* Regex to determine whether the contents of an arbitrary string represents a float.
7373
*
74-
* @link https://www.php.net/manual/en/language.types.float.php
74+
* @link https://www.php.net/language.types.float
7575
*
7676
* @since 1.0.0
7777
*

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/manual/en/reserved.variables.php
41+
* @link http://php.net/reserved.variables
4242
*
4343
* @var array <string> => <bool>
4444
*/

0 commit comments

Comments
 (0)