File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
contributing/documentation Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,23 @@ Configuration examples should show all supported formats using
81
81
* **Validation **: YAML, Annotations, XML, PHP
82
82
* **Doctrine Mapping **: Annotations, YAML, XML, PHP
83
83
84
+ Files and Directories
85
+ ~~~~~~~~~~~~~~~~~~~~~
86
+
87
+ * When referencing directories, always add a trailing slash to avoid confusions
88
+ with regular files (e.g. *"execute the ``console`` script located at the ``app/``
89
+ directory" *).
90
+ * You should include a leading dot in every file extension (e.g. *"``.ini`` files
91
+ are very limited compared to ``.xml`` files" *).
92
+ * When you list a Symfony file/directory hierarchy, use ``your-project/ `` as the
93
+ top level directory. E.g.
94
+
95
+ your-project/
96
+ ├─ app/
97
+ ├─ src/
98
+ ├─ vendor/
99
+ └─ ...
100
+
84
101
Example
85
102
~~~~~~~
86
103
You can’t perform that action at this time.
0 commit comments