{"action":"closed","issue":{"url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/218","labels_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/218/comments","events_url":"https://api.github.com/repos/KnpLabs/DoctrineBehaviors/issues/218/events","html_url":"https://github.com/KnpLabs/DoctrineBehaviors/issues/218","id":80448482,"number":218,"title":"No more ORM mapping annotations since ","user":{"login":"ypereirareis","id":6838923,"avatar_url":"https://avatars.githubusercontent.com/u/6838923?v=3","gravatar_id":"","url":"https://api.github.com/users/ypereirareis","html_url":"https://github.com/ypereirareis","followers_url":"https://api.github.com/users/ypereirareis/followers","following_url":"https://api.github.com/users/ypereirareis/following{/other_user}","gists_url":"https://api.github.com/users/ypereirareis/gists{/gist_id}","starred_url":"https://api.github.com/users/ypereirareis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypereirareis/subscriptions","organizations_url":"https://api.github.com/users/ypereirareis/orgs","repos_url":"https://api.github.com/users/ypereirareis/repos","events_url":"https://api.github.com/users/ypereirareis/events{/privacy}","received_events_url":"https://api.github.com/users/ypereirareis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T08:29:15Z","updated_at":"2015-06-02T23:26:29Z","closed_at":"2015-06-02T23:26:29Z","body":"Hi !\r\n\r\nIn tag v1.0.2, ORM mapping annotations are defined in `traits` like `TimestampableProperties.php` : \r\n\r\n```php\r\ntrait TimestampableProperties\r\n{\r\n    /**\r\n     * @var \\DateTime $createdAt\r\n     *\r\n     * @ORM\\Column(type=\"datetime\", nullable=true)\r\n     */\r\n    protected $createdAt;\r\n    /**\r\n     * @var \\DateTime $updatedAt\r\n     *\r\n     * @ORM\\Column(type=\"datetime\", nullable=true)\r\n     */\r\n    protected $updatedAt;\r\n}\r\n```\r\n\r\nBut no more annotations in tag v1.0.3 : \r\n```php\r\ntrait TimestampableProperties\r\n{\r\n    protected $createdAt;\r\n    protected $updatedAt;\r\n}\r\n```\r\n\r\nDon't you think that's kind of a BC break ?\r\n"}}