Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb6ea60

Browse files
stephpyweaverryan
authored andcommitted
Add link for psr0, psr1, psr2
1 parent 26875e7 commit fb6ea60

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

contributing/code/standards.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ follow the same guidelines, and you should too.
99
Remember that the main advantage of standards is that every piece of code
1010
looks and feels familiar, it's not about this or that being more readable.
1111

12-
Symfony follows the standards defined in the PSR-0, PSR-1, and PSR-2
12+
Symfony follows the standards defined in the `PSR-0`_, `PSR-1`_ and `PSR-2`_
1313
documents.
1414

1515
Since a picture - or some code - is worth a thousand words, here's a short
@@ -63,7 +63,7 @@ example containing most features described below:
6363
} else {
6464
$dummy = ucwords($dummy);
6565
}
66-
}
66+
}
6767
6868
return $dummy;
6969
}
@@ -121,3 +121,7 @@ License
121121

122122
* Symfony is released under the MIT license, and the license block has to be
123123
present at the top of every PHP file, before the namespace.
124+
125+
.. _`PSR-0`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
126+
.. _`PSR-1`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
127+
.. _`PSR-2`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md

0 commit comments

Comments
 (0)