File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ follow the same guidelines, and you should too.
9
9
Remember that the main advantage of standards is that every piece of code
10
10
looks and feels familiar, it's not about this or that being more readable.
11
11
12
- Symfony follows the standards defined in the `PSR-0 `_, `PSR-1 `_ and `PSR-2 `_
12
+ Symfony follows the standards defined in the `PSR-0 `_, `PSR-1 `_, ` PSR-2 `_ and `PSR-4 `_
13
13
documents.
14
14
15
15
Since a picture - or some code - is worth a thousand words, here's a short
@@ -111,7 +111,7 @@ Structure
111
111
112
112
* Define one class per file - this does not apply to private helper classes
113
113
that are not intended to be instantiated from the outside and thus are not
114
- concerned by the `PSR-0 `_ standard ;
114
+ concerned by the `PSR-0 `_ and ` PSR-4 `_ autoload standards ;
115
115
116
116
* Declare class properties before methods;
117
117
@@ -185,3 +185,4 @@ License
185
185
.. _`PSR-0` : http://www.php-fig.org/psr/psr-0/
186
186
.. _`PSR-1` : http://www.php-fig.org/psr/psr-1/
187
187
.. _`PSR-2` : http://www.php-fig.org/psr/psr-2/
188
+ .. _`PSR-4` : http://www.php-fig.org/psr/psr-4/
Original file line number Diff line number Diff line change @@ -342,4 +342,4 @@ Learn more from the Cookbook
342
342
343
343
* :doc: `/cookbook/bundles/extension `
344
344
345
- .. _standards : http://www.php-fig.org/psr/psr-0 /
345
+ .. _standards : http://www.php-fig.org/psr/psr-4 /
You can’t perform that action at this time.
0 commit comments