Skip to content

Commit 9e93058

Browse files
authored
Merge pull request #971 from petk/patch-coding-style
Add PER Coding Style
2 parents 45616f9 + 767c5cb commit 9e93058

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/02-01-01-Code-Style-Guide.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PHP developers to choose several of these and combine them into a single project
1010
their projects.
1111

1212
The [Framework Interop Group][fig] has proposed and approved a series of style recommendations. Not all of them relate
13-
to code-style, but those that do are [PSR-1][psr1], [PSR-12][psr12] and [PSR-4][psr4]. These
13+
to code-style, but those that do are [PSR-1][psr1], [PSR-12][psr12], [PSR-4][psr4] and [PER Coding Style][per-cs]. These
1414
recommendations are merely a set of rules that many projects like Drupal, Zend, Symfony, Laravel, CakePHP, phpBB, AWS SDK,
1515
FuelPHP, Lithium, etc. are adopting. You can use them for your own projects, or continue to use your own
1616
personal style.
@@ -22,6 +22,7 @@ applications that implement the components can have consistency even when workin
2222
* [Read about PSR-1][psr1]
2323
* [Read about PSR-12][psr12]
2424
* [Read about PSR-4][psr4]
25+
* [Read about PER Coding Style][per-cs]
2526
* [Read about PEAR Coding Standards][pear-cs]
2627
* [Read about Symfony Coding Standards][symfony-cs]
2728

@@ -61,6 +62,7 @@ Finally, a good supplementary resource for writing clean PHP code is [Clean Code
6162
[psr1]: https://www.php-fig.org/psr/psr-1/
6263
[psr12]: https://www.php-fig.org/psr/psr-12/
6364
[psr4]: https://www.php-fig.org/psr/psr-4/
65+
[per-cs]: https://www.php-fig.org/per/coding-style/
6466
[pear-cs]: https://pear.php.net/manual/en/standards.php
6567
[symfony-cs]: https://symfony.com/doc/current/contributing/code/standards.html
6668
[phpcs]: https://github.com/squizlabs/PHP_CodeSniffer

0 commit comments

Comments
 (0)