{"action":"created","issue":{"url":"https://api.github.com/repos/Kdyby/Aop/issues/26","labels_url":"https://api.github.com/repos/Kdyby/Aop/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Kdyby/Aop/issues/26/comments","events_url":"https://api.github.com/repos/Kdyby/Aop/issues/26/events","html_url":"https://github.com/Kdyby/Aop/pull/26","id":65495542,"number":26,"title":"Fixed namespace block generation","user":{"login":"mrtnzlml","id":978368,"avatar_url":"https://avatars.githubusercontent.com/u/978368?v=3","gravatar_id":"","url":"https://api.github.com/users/mrtnzlml","html_url":"https://github.com/mrtnzlml","followers_url":"https://api.github.com/users/mrtnzlml/followers","following_url":"https://api.github.com/users/mrtnzlml/following{/other_user}","gists_url":"https://api.github.com/users/mrtnzlml/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtnzlml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtnzlml/subscriptions","organizations_url":"https://api.github.com/users/mrtnzlml/orgs","repos_url":"https://api.github.com/users/mrtnzlml/repos","events_url":"https://api.github.com/users/mrtnzlml/events{/privacy}","received_events_url":"https://api.github.com/users/mrtnzlml/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kdyby/Aop/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-31T16:42:28Z","updated_at":"2015-03-31T17:10:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Kdyby/Aop/pulls/26","html_url":"https://github.com/Kdyby/Aop/pull/26","diff_url":"https://github.com/Kdyby/Aop/pull/26.diff","patch_url":"https://github.com/Kdyby/Aop/pull/26.patch"},"body":"Let's be honest. I am not very sure where is the problem exactly and how to fix it properly. But in my project there was problem with the AOP object cache generation. It was generating class with wrong block namespace (`Parse Error: syntax error, unexpected '{', expecting identifier (T_STRING)`):\r\n\r\n``` php\r\n<?php\r\n\r\nnamespace Kdyby\\Aop_CG\\ { //<<< HERE\r\n\r\nuse Kdyby\\Aop\\Pointcut\\Matcher\\Criteria;\r\nuse Symfony\\Component\\PropertyAccess\\PropertyAccess;\r\n\r\nfinal class Model_PagesClass_83_Model_Pages extends \\Model\\Pages\r\n{\r\n//...\r\n```\r\n\r\nIt's probably because there is not system container name in the `$builder->parameters['container']['class']` in new version of Nette (is that correct?). Feel free to implement it yourself. It's just an issue report... (-:\r\n\r\nAnd I hope it's not bug in my code..."},"comment":{"url":"https://api.github.com/repos/Kdyby/Aop/issues/comments/88174116","html_url":"https://github.com/Kdyby/Aop/pull/26#issuecomment-88174116","issue_url":"https://api.github.com/repos/Kdyby/Aop/issues/26","id":88174116,"user":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T17:10:34Z","updated_at":"2015-03-31T17:10:34Z","body":"Well, master branch is currently designed to be used with 2.2 and 2.3, so I don't see a problem with dropping that \"fix\" (which is hiding a bug)."}}