Skip to content

Documentation: improve use of @internal tags#950

Merged
wimg merged 1 commit intodevelopfrom
feature/docs/improve-use-internal-tag
Dec 26, 2019
Merged

Documentation: improve use of @internal tags#950
wimg merged 1 commit intodevelopfrom
feature/docs/improve-use-internal-tag

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 22, 2019

For the use of @internal tags with comments for dev internal information, it used to be recommended to use {@internal ... }} (not the double curlies at the end) format to help IDEs parse these correctly.

This format has since been superseded as the parsing of docblocks in IDEs has improved a lot since then.

The current recommendation is to just use a single curly at the end.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#55-internal

For the use of `@internal` tags with comments for dev internal information, it used to be recommended to use `{@internal ... }}` (not the double curlies at the end) format to help IDEs parse these correctly.

This format has since been superseded as the parsing of docblocks in IDEs has improved a lot since then.

The current recommendation is to just use a single curly at the end.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#55-internal
@jrfnl jrfnl added this to the 9.x Next milestone Dec 22, 2019
@jrfnl jrfnl requested a review from wimg December 22, 2019 03:03
@wimg wimg merged commit b023084 into develop Dec 26, 2019
@wimg wimg deleted the feature/docs/improve-use-internal-tag branch December 26, 2019 21:05
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants