8000 minor #20506 DX: replace @link with @see annotation (keradus) · symfony/symfony@a1afa21 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1afa21

Browse files
committed
minor #20506 DX: replace @link with @see annotation (keradus)
This PR was merged into the 2.7 branch. Discussion ---------- DX: replace @link with @see annotation | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | n/a | Fixed tickets | n/a | License | MIT | Doc PR | n/a Just to standardise. ```console λ grep -r "* @see " src | wc -l 360 λ grep -r "* @link " src | wc -l 12 ``` Commits ------- f7326c1 DX: replace @link with @see annotation
2 parents 0221ffc + f7326c1 commit a1afa21

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

src/Symfony/Component/Console/Logger/ConsoleLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @author Kévin Dunglas <dunglas@gmail.com>
2424
*
25-
* @link http://www.php-fig.org/psr/psr-3/
25+
* @see http://www.php-fig.org/psr/psr-3/
2626
*/
2727
class ConsoleLogger extends AbstractLogger
2828
{

src/Symfony/Component/Form/FormTypeGuesserInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function guessMaxLength($class, $property);
5454
* Example:
5555
* You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5)
5656
*
57-
* @link https://github.com/symfony/symfony/pull/3927
57+
* @see https://github.com/symfony/symfony/pull/3927
5858
*
5959
* @param string $class The fully qualified class name
6060
* @param string $property The name of the property to guess for

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public function testReverseTransformExpectsValidNumber()
510510
/**
511511
* @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
512512
*
513-
* @link https://github.com/symfony/symfony/issues/3161
513+
* @see https://github.com/symfony/symfony/issues/3161
514514
*/
515515
public function testReverseTransformDisallowsNaN()
516516
{

src/Symfony/Component/HttpFoundation/File/MimeType/FileinfoMimeTypeGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
2828
*
2929
* @param string $magicFile A magic file to use with the finfo instance
3030
*
31-
* @link http://www.php.net/manual/en/function.finfo-open.php
31+
* @see http://www.php.net/manual/en/function.finfo-open.php
3232
*/
3333
public function __construct($magicFile = null)
3434
{

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ public function getAcceptableContentTypes()
16741674
* It works if your JavaScript library sets an X-Requested-With HTTP header.
16751675
* It is known to work with common JavaScript frameworks:
16761676
*
1677-
* @link http://en.wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
1677+
* @see http://en.wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
16781678
*
16791679
* @return bool true if the request is an XMLHttpRequest, false otherwise
16801680
*/

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ public static function closeOutputBuffers($targetLevel, $flush)
11631163
/**
11641164
* Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.
11651165
*
1166-
* @link http://support.microsoft.com/kb/323308
1166+
* @see http://support.microsoft.com/kb/323308
11671167
*/
11681168
protected function ensureIEOverSSLCompatibility(Request $request)
11691169
{

src/Symfony/Component/Intl/Data/Bundle/Reader/JsonBundleReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function read($path, $locale)
6363
/**
6464
* @return string The last error message created by {@link json_decode()}
6565
*
66-
* @link http://de2.php.net/manual/en/function.json-last-error-msg.php#113243
66+
* @see http://de2.php.net/manual/en/function.json-last-error-msg.php#113243
6767
*/
6868
private static function getLastJsonError()
6969
{

src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @author Bernhard Schussek <bschussek@gmail.com>
2323
*
24-
* @link http://source.icu-project.org/repos/icu/icu4j/trunk/main/classes/core/src/com/ibm/icu/util/Region.java
24+
* @see http://source.icu-project.org/repos/icu/icu4j/trunk/main/classes/core/src/com/ibm/icu/util/Region.java
2525
*
2626
* @internal
2727
*/

src/Symfony/Component/Security/Core/Encoder/BCryptPasswordEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct($cost)
6666
*
6767
* @throws BadCredentialsException when the given password is too long
6868
*
69-
* @link http://lxr.php.net/xref/PHP_5_5/ext/standard/password.c#111
69+
* @see http://lxr.php.net/xref/PHP_5_5/ext/standard/password.c#111
7070
*/
7171
public function encodePassword($raw, $salt)
7272
{

src/Symfony/Component/Validator/Constraints/IbanValidator.php

Lines changed: 2 additions & 2 deletions
< EB30 /div>
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @author Michael Schummel
2222
* @author Bernhard Schussek <bschussek@gmail.com>
2323
*
24-
* @link http://www.michael-schummel.de/2007/10/05/iban-prufung-mit-php/
24+
* @see http://www.michael-schummel.de/2007/10/05/iban-prufung-mit-php/
2525
*/
2626
class IbanValidator extends ConstraintValidator
2727
{
@@ -34,7 +34,7 @@ class IbanValidator extends ConstraintValidator
3434
* a BBAN (Basic Bank Account Number) which has a fixed length per country and,
3535
* included within it, a bank identifier with a fixed position and a fixed length per country
3636
*
37-
* @link http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf
37+
* @see http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf
3838
*
3939
* @var array
4040
*/

src/Symfony/Component/Validator/Constraints/Regex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getRequiredOptions()
5050
* Pattern is also ignored if match=false since the pattern should
5151
* then be reversed before application.
5252
*
53-
* @link http://dev.w3.org/html5/spec/single-page.html#the-pattern-attribute
53+
* @see http://dev.w3.org/html5/spec/single-page.html#the-pattern-attribute
5454
*
5555
* @return string|null
5656
*/

0 commit comments

Comments
 (0)
0