8000 feature #6765 [Contributing] [Standards] Do not use spaces inside/aro… · symfony/symfony-docs@8440cea · GitHub
[go: up one dir, main page]

Skip to content

Commit 8440cea

Browse files
committed
feature #6765 [Contributing] [Standards] Do not use spaces inside/around offset accessors (phansys)
This PR was squashed before being merged into the 2.7 branch (closes #6765). Discussion ---------- [Contributing] [Standards] Do not use spaces inside/around offset accessors | Q | A | ------------- | --- | Doc fix? | yes | New docs? | yes | Applies to | all | Fixed tickets | N/A Ref: PHP-CS-Fixer/PHP-CS-Fixer#2089 Commits ------- e9fa33d [Contributing] [Standards] Do not use spaces inside/around offset accessors
2 parents e278c43 + e9fa33d commit 8440cea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contributing/code/standards.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ Structure
176176
Read more at :ref:`contributing-code-conventions-deprecations`;
177177

178178
* Do not use ``else``, ``elseif``, ``break`` after ``if`` and ``case`` conditions
179-
which return or throw something.
179+
which return or throw something;
180+
181+
* Do not use spaces around ``[`` offset accessor and before ``]`` offset accessor.
180182

181183
Naming Conventions
182184
------------------

0 commit comments

Comments
 (0)
0