Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a0c5fa

Browse filesBrowse 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
Copy full SHA for 1a0c5fa

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎contributing/code/standards.rst

Copy file name to clipboardExpand all lines: contributing/code/standards.rst
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.