Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cd3d89

Browse files
committed
Reoutlined the standards
1 parent 3cbf4d9 commit 0cd3d89

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

contributing/documentation/standards.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -81,25 +81,6 @@ Configuration examples should show all supported formats using
8181
* **Validation**: YAML, Annotations, XML, PHP
8282
* **Doctrine Mapping**: Annotations, YAML, XML, PHP
8383

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-
* When referencing file extensions explicitly, you should include a leading dot
91-
for every extension (e.g. "XML files use the ``.xml`` extension").
92-
* When you list a Symfony file/directory hierarchy, use ``your-project/`` as the
93-
top level directory. E.g.
94-
95-
.. code-block:: text
96-
97-
your-project/
98-
├─ app/
99-
├─ src/
100-
├─ vendor/
101-
└─ ...
102-
10384
Example
10485
~~~~~~~
10586

@@ -133,6 +114,25 @@ Example
133114
In YAML you should put a space after ``{`` and before ``}`` (e.g. ``{ _controller: ... }``),
134115
but this should not be done in Twig (e.g. ``{'hello' : 'value'}``).
135116

117+
Files and Directories
118+
---------------------
119+
120+
* When referencing directories, always add a trailing slash to avoid confusions
121+
with regular files (e.g. "execute the ``console`` script located at the ``app/``
122+
directory").
123+
* When referencing file extensions explicitly, you should include a leading dot
124+
for every extension (e.g. "XML files use the ``.xml`` extension").
125+
* When you list a Symfony file/directory hierarchy, use ``your-project/`` as the
126+
top level directory. E.g.
127+
128+
.. code-block:: text
129+
130+
your-project/
131+
├─ app/
132+
├─ src/
133+
├─ vendor/
134+
└─ ...
135+
136136
Language Standards
137137
------------------
138138

0 commit comments

Comments
 (0)