File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
contributing/documentation Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,14 @@ look and feel familiar, you should follow these rules:
76
76
77
77
* The code follows the :doc: `Symfony Coding Standards</contributing/code/standards> `
78
78
as well as the `Twig Coding Standards `_;
79
+ * Each line should break approximately after the first word that crosses the
80
+ 72nd character (so most lines end up being 72-78 lines);
79
81
* When we fold one or more lines of code, we place ``... `` in a comment at the point
80
82
of the fold. These comments are: ``// ... `` (php), ``# ... `` (yaml/bash), ``{# ... #} ``
81
83
(twig), ``<!-- ... --> `` (xml/html), ``; ... `` (ini), ``... `` (text);
82
84
* When we fold a part of a line, e.g. a variable value, we put ``... `` (without comment)
83
85
at the place of the fold;
84
- * Description of the foloed code: (optional)
86
+ * Description of the folded code: (optional)
85
87
If we fold several lines: the description of the fold can be placed after the ``... ``
86
88
If we fold only part of a line: the description can be placed before the line;
87
89
* If useful, a ``codeblock `` should begin with a comment containing the filename
You can’t perform that action at this time.
0 commit comments