Details
Description
when I want to generate getters and setters for my entity which subclasses another entity-base-class, my properties are duplicated.
before generating:
Unable to find source-code formatter for language: php. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
/** * @orm:Entity */ class User extends BaseUser { /** * @orm:Id * @orm:Column(type="integer") * @orm:generatedValue(strategy="AUTO") */ protected $id; }
after generating:
Unable to find source-code formatter for language: php. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
/** * @orm:Entity */ class User extends BaseUser { /** * @orm:Id * @orm:Column(type="integer") * @orm:generatedValue(strategy="AUTO") */ protected $id; /** * @var integer $id */ private $id; /** * Get id * * @return integer $id */ public function getId() { return $this->id; } }
SuperSuperClass (there are multiple levels of inheritance...):
Unable to find source-code formatter for language: php. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
abstract class User implements UserInterface { protected $id; //... }
Duplicate of
DDC-1134, fixed