Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PSR-2 refs on docs to PSR-12 #205

Merged
merged 1 commit into from
Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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