|
1 | 1 | # PSR Recommendations |
2 | 2 |
|
3 | | -* [PSR-0](http://www.php-fig.org/psr/psr-0/) |
4 | | - |
5 | 3 | * [PSR-1](http://www.php-fig.org/psr/psr-1/) |
6 | 4 |
|
7 | 5 | * [PSR-2](http://www.php-fig.org/psr/psr-2/), with the following exceptions: |
8 | 6 | * Template code (intermingling PHP with HTML) is permitted to use the short-open tag (i.e., `<?`). |
9 | | - * Line lengths have a HARD LIMIT of 120 characters. (Better than 80, but still not ridiculous.) |
10 | | - * Extra line breaks are encouraged for readability. |
| 7 | + * Line lengths have a HARD LIMIT of 120 characters. |
| 8 | + * Closures MUST NOT be declared with a space after the `function` keyword. White space should follow the same rules as when defining methods and functions. |
| 9 | + |
| 10 | +* [PSR-4](http://www.php-fig.org/psr/psr-4/) |
11 | 11 |
|
12 | 12 | * [PSR-5 Draft](https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md) for DocBlocks. |
13 | 13 |
|
| 14 | +* [PSR-12 Draft](https://github.com/php-fig/fig-standards/blob/master/proposed/extended-coding-style-guide.md) |
| 15 | + |
14 | 16 |
|
15 | 17 | ## Summary of PSR-1/2 Recommendations |
16 | 18 |
|
|
0 commit comments