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
This commit is contained in:
commit
a1afa21a8c
@ -22,7 +22,7 @@ use Symfony\Component\Console\Output\ConsoleOutputInterface;
|
|||||||
*
|
*
|
||||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||||
*
|
*
|
||||||
* @link http://www.php-fig.org/psr/psr-3/
|
* @see http://www.php-fig.org/psr/psr-3/
|
||||||
*/
|
*/
|
||||||
class ConsoleLogger extends AbstractLogger
|
class ConsoleLogger extends AbstractLogger
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,7 @@ interface FormTypeGuesserInterface
|
|||||||
* Example:
|
* Example:
|
||||||
* You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5)
|
* You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5)
|
||||||
*
|
*
|
||||||
* @link https://github.com/symfony/symfony/pull/3927
|
* @see https://github.com/symfony/symfony/pull/3927
|
||||||
*
|
*
|
||||||
* @param string $class The fully qualified class name
|
* @param string $class The fully qualified class name
|
||||||
* @param string $property The name of the property to guess for
|
* @param string $property The name of the property to guess for
|
||||||
|
@ -510,7 +510,7 @@ class NumberToLocalizedStringTransformerTest extends \PHPUnit_Framework_TestCase
|
|||||||
/**
|
/**
|
||||||
* @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
|
* @expectedException \Symfony\Component\Form\Exception\TransformationFailedException
|
||||||
*
|
*
|
||||||
* @link https://github.com/symfony/symfony/issues/3161
|
* @see https://github.com/symfony/symfony/issues/3161
|
||||||
*/
|
*/
|
||||||
public function testReverseTransformDisallowsNaN()
|
public function testReverseTransformDisallowsNaN()
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
|
|||||||
*
|
*
|
||||||
* @param string $magicFile A magic file to use with the finfo instance
|
* @param string $magicFile A magic file to use with the finfo instance
|
||||||
*
|
*
|
||||||
* @link http://www.php.net/manual/en/function.finfo-open.php
|
* @see http://www.php.net/manual/en/function.finfo-open.php
|
||||||
*/
|
*/
|
||||||
public function __construct($magicFile = null)
|
public function __construct($magicFile = null)
|
||||||
{
|
{
|
||||||
|
@ -1674,7 +1674,7 @@ class Request
|
|||||||
* It works if your JavaScript library sets an X-Requested-With HTTP header.
|
* It works if your JavaScript library sets an X-Requested-With HTTP header.
|
||||||
* It is known to work with common JavaScript frameworks:
|
* It is known to work with common JavaScript frameworks:
|
||||||
*
|
*
|
||||||
* @link http://en.wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
|
* @see http://en.wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
|
||||||
*
|
*
|
||||||
* @return bool true if the request is an XMLHttpRequest, false otherwise
|
* @return bool true if the request is an XMLHttpRequest, false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -1163,7 +1163,7 @@ class Response
|
|||||||
/**
|
/**
|
||||||
* Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.
|
* Checks if we need to remove Cache-Control for SSL encrypted downloads when using IE < 9.
|
||||||
*
|
*
|
||||||
* @link http://support.microsoft.com/kb/323308
|
* @see http://support.microsoft.com/kb/323308
|
||||||
*/
|
*/
|
||||||
protected function ensureIEOverSSLCompatibility(Request $request)
|
protected function ensureIEOverSSLCompatibility(Request $request)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@ class JsonBundleReader implements BundleReaderInterface
|
|||||||
/**
|
/**
|
||||||
* @return string The last error message created by {@link json_decode()}
|
* @return string The last error message created by {@link json_decode()}
|
||||||
*
|
*
|
||||||
* @link http://de2.php.net/manual/en/function.json-last-error-msg.php#113243
|
* @see http://de2.php.net/manual/en/function.json-last-error-msg.php#113243
|
||||||
*/
|
*/
|
||||||
private static function getLastJsonError()
|
private static function getLastJsonError()
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Intl\Data\Util\LocaleScanner;
|
|||||||
*
|
*
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @link http://source.icu-project.org/repos/icu/icu4j/trunk/main/classes/core/src/com/ibm/icu/util/Region.java
|
* @see http://source.icu-project.org/repos/icu/icu4j/trunk/main/classes/core/src/com/ibm/icu/util/Region.java
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
|
@ -66,7 +66,7 @@ class BCryptPasswordEncoder extends BasePasswordEncoder
|
|||||||
*
|
*
|
||||||
* @throws BadCredentialsException when the given password is too long
|
* @throws BadCredentialsException when the given password is too long
|
||||||
*
|
*
|
||||||
* @link http://lxr.php.net/xref/PHP_5_5/ext/standard/password.c#111
|
* @see http://lxr.php.net/xref/PHP_5_5/ext/standard/password.c#111
|
||||||
*/
|
*/
|
||||||
public function encodePassword($raw, $salt)
|
public function encodePassword($raw, $salt)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
|||||||
* @author Michael Schummel
|
* @author Michael Schummel
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @link http://www.michael-schummel.de/2007/10/05/iban-prufung-mit-php/
|
* @see http://www.michael-schummel.de/2007/10/05/iban-prufung-mit-php/
|
||||||
*/
|
*/
|
||||||
class IbanValidator extends ConstraintValidator
|
class IbanValidator extends ConstraintValidator
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ class IbanValidator extends ConstraintValidator
|
|||||||
* a BBAN (Basic Bank Account Number) which has a fixed length per country and,
|
* a BBAN (Basic Bank Account Number) which has a fixed length per country and,
|
||||||
* included within it, a bank identifier with a fixed position and a fixed length per country
|
* included within it, a bank identifier with a fixed position and a fixed length per country
|
||||||
*
|
*
|
||||||
* @link http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf
|
* @see http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -50,7 +50,7 @@ class Regex extends Constraint
|
|||||||
* Pattern is also ignored if match=false since the pattern should
|
* Pattern is also ignored if match=false since the pattern should
|
||||||
* then be reversed before application.
|
* then be reversed before application.
|
||||||
*
|
*
|
||||||
* @link http://dev.w3.org/html5/spec/single-page.html#the-pattern-attribute
|
* @see http://dev.w3.org/html5/spec/single-page.html#the-pattern-attribute
|
||||||
*
|
*
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user