mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #498] [MERGED] Improve DocBlock annotations of generated entities #8293
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/498
Author: @lanthaler
Created: 11/2/2012
Status: ✅ Merged
Merged: 11/3/2012
Merged by: @guilhermeblanco
Base:
master← Head:improve-generated-entity-doc📝 Commits (1)
1b7ca67Improve DocBlock annotations of generated entities📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+2 -2)📄 Description
Currently, the DocBlock annotations for member variables contain the variable name as description which is redundant and should be removed. Furthermore the class is annotated with the FQN instead of just the name. This makes automatically generated documentation quite ugly.
These changes will result in entities that as follows
instead of this:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.