Skip to content

Commit

Permalink
Merge pull request #205 from gmponos/update-psr-doc-refs
Browse files Browse the repository at this point in the history
Update PSR-2 refs on docs to PSR-12
  • Loading branch information
carusogabriel authored Jun 23, 2020
2 parents 87308f5 + a3df1d8 commit d0f46c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/reference/customizing.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Customizing to your needs
=========================

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

Expand Down
4 changes: 2 additions & 2 deletions docs/en/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Introduction
============

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

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

0 comments on commit d0f46c8

Please sign in to comment.