{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2894","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2894/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2894/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2894/events","html_url":"https://github.com/Codeception/Codeception/issues/2894","id":140213748,"number":2894,"title":"@Override annotation in /Codeception/TestCase/Test.php gives error with Doctrine","user":{"login":"aschwin","id":1670855,"avatar_url":"https://avatars.githubusercontent.com/u/1670855?v=3","gravatar_id":"","url":"https://api.github.com/users/aschwin","html_url":"https://github.com/aschwin","followers_url":"https://api.github.com/users/aschwin/followers","following_url":"https://api.github.com/users/aschwin/following{/other_user}","gists_url":"https://api.github.com/users/aschwin/gists{/gist_id}","starred_url":"https://api.github.com/users/aschwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschwin/subscriptions","organizations_url":"https://api.github.com/users/aschwin/orgs","repos_url":"https://api.github.com/users/aschwin/repos","events_url":"https://api.github.com/users/aschwin/events{/privacy}","received_events_url":"https://api.github.com/users/aschwin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Doctrine","name":"Doctrine","color":"bdc3c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T15:32:55Z","updated_at":"2016-03-14T08:06:33Z","closed_at":"2016-03-12T00:24:06Z","body":"Hi,\r\n\r\nBoth _before() and _after() contain DocBlocks with the @Override annotation. At least, Doctrine thinks these are annotations.\r\n\r\nDoctrine complains it can not find anything to include.\r\n\r\nYou might say, it is Doctrine to blame. Well, let me first ask what these annotations are for? Is there any purpose for it? I mean, what is there to override and what mechanism uses this?\r\n\r\nNext, maybe anyone has any idea how to circumvent this error if at the Doctrine side it is not solvable?"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/196191791","html_url":"https://github.com/Codeception/Codeception/issues/2894#issuecomment-196191791","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2894","id":196191791,"user":{"login":"aschwin","id":1670855,"avatar_url":"https://avatars.githubusercontent.com/u/1670855?v=3","gravatar_id":"","url":"https://api.github.com/users/aschwin","html_url":"https://github.com/aschwin","followers_url":"https://api.github.com/users/aschwin/followers","following_url":"https://api.github.com/users/aschwin/following{/other_user}","gists_url":"https://api.github.com/users/aschwin/gists{/gist_id}","starred_url":"https://api.github.com/users/aschwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschwin/subscriptions","organizations_url":"https://api.github.com/users/aschwin/orgs","repos_url":"https://api.github.com/users/aschwin/repos","events_url":"https://api.github.com/users/aschwin/events{/privacy}","received_events_url":"https://api.github.com/users/aschwin/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T08:06:33Z","updated_at":"2016-03-14T08:06:33Z","body":"I guess Doctrine is very greedy in parsing folders for annotations. It's not that I try to test Doctrine's mechanism. I try to mock it. But I guess some parts are still bootstrapped somehow."}}