When importing and exporting following PHP file, ORM Designer incorrectly handles annotations:
<?php
/**
* Date: 2013.01.31.
* Time: 10:35
* Filename: Contact.php
*/
namespace ProjectEntities\Entity;
use Doctrine\ORM\Mapping as ORM,
JMS\Serializer\Annotation as JMS;
/**
* @ORM\Entity(repositoryClass="ContactRepository")
* @ORM\Table(name="contact")
* @JMS\ExclusionPolicy("none")
*/
class Contact
{
...
exported file looks like this:
<?php
namespace ProjectEntities\Entity;
use Doctrine\ORM\Mapping as ORM,
JMS\Serializer\Annotation as JMS;
/**/**
* Date: 2013.01.31.
* Time: 10:35
* Filename: Contact.php
*/
* @ORM\Entity(repositoryClass="ContactRepository")
* @ORM\Table(name="contact")
* @JMS\ExclusionPolicy("none")
*/
class Contact
{
...