Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd7c335

Browse files
phansysxabbuh
authored andcommitted
[Contributing] [Standards] Added note about phpdoc_separation.
| Q | A | ------------- | --- | Doc fix? | no | New docs? | no | Applies to | 2.8+ | Fixed tickets |
1 parent 19d4322 commit fd7c335

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contributing/code/standards.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ Documentation
200200

201201
* Add PHPDoc blocks for all classes, methods, and functions;
202202

203+
* Group annotations together so that annotations of the same type immediately
204+
follow each other, and annotations of a different type are separated by a
205+
single blank line;
206+
203207
* Omit the ``@return`` tag if the method does not return anything;
204208

205209
* The ``@package`` and ``@subpackage`` annotations are not used.

0 commit comments

Comments
 (0)