From f1df7de727945817541196c58928a8597aea6d51 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Wed, 14 Sep 2022 03:51:36 -0700 Subject: [PATCH] Replace deprecated `PSR-2` with `PSR-12` (#11058) At the top of https://www.php-fig.org/psr/psr-2/, it says: > Deprecated - As of 2019-08-10 PSR-2 has been marked as deprecated. PSR-12 is now recommended as an alternative. Looking at the PSR-12 docs, the summary of changes implies that they mostly took PSR-2 and extended it to clarify new language features. --- doc/08-community.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/08-community.md b/doc/08-community.md index 210256451..6fe2d9976 100644 --- a/doc/08-community.md +++ b/doc/08-community.md @@ -19,7 +19,7 @@ The most important guidelines are described as follows: > Fork the project, create a feature branch, and send us a pull request. > > To ensure a consistent code base, you should make sure the code follows -> the [PSR-2 Coding Standards](https://www.php-fig.org/psr/psr-2/). +> the [PSR-12 Coding Standards](https://www.php-fig.org/psr/psr-12/). ## Support