File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
contributing/documentation Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ look and feel familiar, you should follow these rules:
88
88
as well as the `Twig Coding Standards `_;
89
89
* Each line should break approximately after the first word that crosses the
90
90
72nd character (so most lines end up being 72-78 lines);
91
+ * To avoid horizontal scrolling on code blocks, we prefer to break a line
92
+ correctly if it crosses the 85th character;
91
93
* When you fold one or more lines of code, place ``... `` in a comment at the point
92
94
of the fold. These comments are: ``// ... `` (php), ``# ... `` (yaml/bash), ``{# ... #} ``
93
95
(twig), ``<!-- ... --> `` (xml/html), ``; ... `` (ini), ``... `` (text);
@@ -101,7 +103,8 @@ look and feel familiar, you should follow these rules:
101
103
unless the next line is also a comment;
102
104
* You should put a ``$ `` in front of every bash line;
103
105
* The ``:: `` shorthand is preferred over ``.. code-block:: php `` to begin a PHP
104
- code block.
106
+ code block;
107
+ * You should use a form of *you * instead of *we *.
105
108
106
109
An example::
107
110
You can’t perform that action at this time.
0 commit comments