@@ -116,21 +116,21 @@ The following classes and files have specific emplacements (some are mandatory
116
116
and others are just conventions followed by most developers):
117
117
118
118
=================================================== ========================================
119
- Type Directory
119
+ Type Directory
120
120
=================================================== ========================================
121
- Commands ``Command/ ``
122
- Controllers ``Controller/ ``
123
- Service Container Extensions ``DependencyInjection/ ``
121
+ Commands ``Command/ ``
122
+ Controllers ``Controller/ ``
123
+ Service Container Extensions ``DependencyInjection/ ``
124
124
Doctrine ORM entities (when not using annotations) ``Entity/ ``
125
125
Doctrine ODM documents (when not using annotations) ``Document/ ``
126
- Event Listeners ``EventListener/ ``
127
- Configuration ``Resources/config/ ``
128
- Web Resources (CSS, JS, images) ``Resources/public/ ``
129
- Translation files ``Resources/translations/ ``
126
+ Event Listeners ``EventListener/ ``
127
+ Configuration ``Resources/config/ ``
128
+ Web Resources (CSS, JS, images) ``Resources/public/ ``
129
+ Translation files ``Resources/translations/ ``
130
130
Validation (when not using annotations) ``Resources/config/validation/ ``
131
131
Serialization (when not using annotations) ``Resources/config/serialization/ ``
132
- Templates ``Resources/views/ ``
133
- Unit and Functional Tests ``Tests/ ``
132
+ Templates ``Resources/views/ ``
133
+ Unit and Functional Tests ``Tests/ ``
134
134
=================================================== ========================================
135
135
136
136
Classes
@@ -174,19 +174,19 @@ the ``Tests/`` directory. Tests should follow the following principles:
174
174
175
175
.. note ::
176
176
177
- A test suite must not contain ``AllTests.php `` scripts, but must rely on the
178
- existence of a ``phpunit.xml.dist `` file.
177
+ A test suite must not contain ``AllTests.php `` scripts, but must rely on the
178
+ existence of a ``phpunit.xml.dist `` file.
179
179
180
180
Documentation
181
181
-------------
182
182
183
183
All classes and functions must come with full PHPDoc.
184
184
185
- Extensive documentation should also be provided in the ``Resources/doc/ ``
185
+ Extensive documentation should also be provided in the ``Resources/doc/ ``
186
186
directory.
187
- The index file (for example ``Resources/doc/index.rst `` or
188
- ``Resources/doc/index.md ``) is the only mandatory file and must be the entry
189
- point for the documentation. The
187
+ The index file (for example ``Resources/doc/index.rst `` or
188
+ ``Resources/doc/index.md ``) is the only mandatory file and must be the entry
189
+ point for the documentation. The
190
190
:doc: `reStructuredText (rST) </contributing/documentation/format >` is the format
191
191
used to render the documentation on symfony.com.
192
192
0 commit comments