Skip to content

Commit 1a0c5fa

Browse files
committed
minor #9211 Recommend to never inline PHPDoc blocks (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Recommend to never inline PHPDoc blocks I guess the existing recommendation is wrong because we never do that in the Symfony code. See https://github.com/symfony/symfony/search?utf8=%E2%9C%93&q=%7B%40inheritdoc%7D&type= Commits ------- 3391e51 Recommend to never inline PHPDoc blocks
2 parents bb34923 + 3391e51 commit 1a0c5fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contributing/code/standards.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ Documentation
251251

252252
* The ``@package`` and ``@subpackage`` annotations are not used;
253253

254-
* Inline the ``@inheritdoc`` tag.
254+
* Don't inline PHPDoc blocks, even when they contain just one tag (e.g. don't
255+
put ``/** {@inheritdoc} */`` in a single line).
255256

256257
License
257258
~~~~~~~

0 commit comments

Comments
 (0)