We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29be4f9 + 175df74 commit 07b5f5dCopy full SHA for 07b5f5d
contributing/code/standards.rst
@@ -85,6 +85,9 @@ Structure
85
86
* Add a single space around operators (``==``, ``&&``, ...);
87
88
+* Add a comma after each array item in a multi-line array, even after the
89
+ last one;
90
+
91
* Add a blank line before ``return`` statements, unless the return is alone
92
inside a statement-group (like an ``if`` statement);
93
@@ -99,6 +102,9 @@ Structure
99
102
100
103
* Declare public methods first, then protected ones and finally private ones.
101
104
105
+* Use parentheses when instantiating classes regardless of the number of
106
+ arguments the constructor has.
107
108
Naming Conventions
109
------------------
110
0 commit comments