Skip to content

Commit 41bb43b

Browse files
gmponosgreg0ire
authored andcommitted
Update PSR-2 refs on docs to PSR-12
1 parent 7ebe929 commit 41bb43b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/en/reference/customizing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Customizing to your needs
22
=========================
33

4-
While Doctrine Coding Standard is based on `PSR-2 <https://www.php-fig.org/psr/psr-2/>`_,
4+
While Doctrine Coding Standard is based on `PSR-12 <https://www.php-fig.org/psr/psr-12/>`_,
55
it also consists of a lot of additional advanced and opinionated rules and checks, mostly imported from
66
the `Slevomat Coding Standard <https://github.com/slevomat/coding-standard>`_.
77

docs/en/reference/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Introduction
22
============
33

44
The Doctrine Coding Standard is a set of rules for `PHP_CodeSniffer <https://github.com/squizlabs/PHP_CodeSniffer>`_
5-
and applies to all Doctrine projects. It is based on `PSR-1 <https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md>`_
6-
and `PSR-2 <https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md>`_, with some noticeable
5+
and applies to all Doctrine projects. It is based on `PSR-1 <https://www.php-fig.org/psr/psr-1>`_
6+
and `PSR-12 <https://www.php-fig.org/psr/psr-12/>`_, with some noticeable
77
exceptions/differences/extensions.
88

99
- Keep the nesting of control structures per method as small as possible

0 commit comments

Comments
 (0)