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

Skip to content

Escape annotations in comments #13240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2015
Merged

Escape annotations in comments #13240

merged 1 commit into from
Jan 4, 2015

Conversation

cmfcmf
Copy link
Contributor

@cmfcmf cmfcmf commented Jan 4, 2015

Q A
Fixed tickets ---
Referenced tickets #13089
License MIT

@@ -248,7 +248,7 @@ public function getBundle($name, $first = true)
*
* The resource name must follow the following pattern:
*
* @<BundleName>/path/to/a/file.something
* "@BundleName/path/to/a/file.something"
*
* where BundleName is the name of the bundle
* and the remaining part is the relative path in the bundle.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this complete doc block should actually be replaced with {@inheritDoc}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This docblock has one RuntimeException more than the docblock in the interface. Shall I still replace it? Shall I add the additional exception to the docblock of the interface?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
 * {@inheritDoc}
 *
 * @throws RuntimeException When ...
 */

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I've merged the two docblocks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Fabbot says I should use {@inheritDoc} with a lower-cased d. Which one is correct now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmfcmf The lowercased one would have been correct.

@fabpot
Copy link
Member

fabpot commented Jan 4, 2015

Thank you @cmfcmf.

@fabpot fabpot merged commit 0cb17f3 into symfony:2.3 Jan 4, 2015
fabpot added a commit that referenced this pull request Jan 4, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Escape annotations in comments

| Q             | A
| ------------- | ---
| Fixed tickets | ---
| Referenced tickets | #13089
| License       | MIT

Commits
-------

0cb17f3 Escape annotations in comments, refs #13089.
@cmfcmf cmfcmf deleted the annotation-fix branch January 4, 2015 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants