Skip to content

Commit 79fa94b

Browse files
committed
minor #6667 [Contributing][Code] fix list item terminators (xabbuh)
This PR was merged into the 2.7 branch. Discussion ---------- [Contributing][Code] fix list item terminators Commits ------- 2772b4f [Contributing][Code] fix list item terminators
2 parents a09141c + 2772b4f commit 79fa94b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contributing/code/standards.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Structure
160160

161161
* Declare public methods first, then protected ones and finally private ones.
162162
The exceptions to this rule are the class constructor and the ``setUp`` and
163-
``tearDown`` methods of PHPUnit tests, which should always be the first methods
163+
``tearDown`` methods of PHPUnit tests, which must always be the first methods
164164
to increase readability;
165165

166166
* Declare all the arguments on the same line as the method/function name, no
@@ -169,11 +169,11 @@ Structure
169169
* Use parentheses when instantiating classes regardless of the number of
170170
arguments the constructor has;
171171

172-
* Exception and error message strings should be concatenated using :phpfunction:`sprintf`.
172+
* Exception and error message strings must be concatenated using :phpfunction:`sprintf`;
173173

174-
* Calls to :phpfunction:`trigger_error` with type ``E_USER_DEPRECATED`` should be
174+
* Calls to :phpfunction:`trigger_error` with type ``E_USER_DEPRECATED`` must be
175175
switched to opt-in via ``@`` operator.
176-
Read more at :ref:`contributing-code-conventions-deprecations`;
176+
Read more at :ref:`contributing-code-conventions-deprecations`.
177177

178178
Naming Conventions
179179
------------------

0 commit comments

Comments
 (0)