{"action":"created","comment":{"url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/comments/22864293","id":22864293,"diff_hunk":"@@ -0,0 +1,18 @@\n+<?php\n+\n+namespace Blog\\NewsBundle\\Repository;\n+\n+use Doctrine\\ORM\\EntityRepository;\n+\n+class CategoryRepository extends EntityRepository\n+{\n+    public function getCategories()","path":"src/Blog/NewsBundle/Repository/CategoryRepository.php","position":9,"original_position":9,"commit_id":"ae10ef24554c37f2067fe569fc9eebb815dfab2b","original_commit_id":"ae10ef24554c37f2067fe569fc9eebb815dfab2b","user":{"login":"alexandrzhulev","id":6017132,"avatar_url":"https://avatars.githubusercontent.com/u/6017132?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrzhulev","html_url":"https://github.com/alexandrzhulev","followers_url":"https://api.github.com/users/alexandrzhulev/followers","following_url":"https://api.github.com/users/alexandrzhulev/following{/other_user}","gists_url":"https://api.github.com/users/alexandrzhulev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrzhulev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrzhulev/subscriptions","organizations_url":"https://api.github.com/users/alexandrzhulev/orgs","repos_url":"https://api.github.com/users/alexandrzhulev/repos","events_url":"https://api.github.com/users/alexandrzhulev/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrzhulev/received_events","type":"User","site_admin":false},"body":"no need of wrapping parent method findAll (Doctrine\\ORM\\EntityRepository) in your own method","created_at":"2015-01-13T14:26:41Z","updated_at":"2015-01-13T14:26:41Z","html_url":"https://github.com/greenua14/SF2HomeWork/pull/7#discussion_r22864293","pull_request_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/comments/22864293"},"html":{"href":"https://github.com/greenua14/SF2HomeWork/pull/7#discussion_r22864293"},"pull_request":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7","id":27228348,"html_url":"https://github.com/greenua14/SF2HomeWork/pull/7","diff_url":"https://github.com/greenua14/SF2HomeWork/pull/7.diff","patch_url":"https://github.com/greenua14/SF2HomeWork/pull/7.patch","issue_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/7","number":7,"state":"open","locked":false,"title":"Develop","user":{"login":"greenua14","id":6191300,"avatar_url":"https://avatars.githubusercontent.com/u/6191300?v=3","gravatar_id":"","url":"https://api.github.com/users/greenua14","html_url":"https://github.com/greenua14","followers_url":"https://api.github.com/users/greenua14/followers","following_url":"https://api.github.com/users/greenua14/following{/other_user}","gists_url":"https://api.github.com/users/greenua14/gists{/gist_id}","starred_url":"https://api.github.com/users/greenua14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenua14/subscriptions","organizations_url":"https://api.github.com/users/greenua14/orgs","repos_url":"https://api.github.com/users/greenua14/repos","events_url":"https://api.github.com/users/greenua14/events{/privacy}","received_events_url":"https://api.github.com/users/greenua14/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-12T21:38:53Z","updated_at":"2015-01-13T14:26:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d07d399c5c1e18c71934aa055496747ecde7342","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7/commits","review_comments_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7/comments","review_comment_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/comments/{number}","comments_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/7/comments","statuses_url":"https://api.github.com/repos/greenua14/SF2HomeWork/statuses/ae10ef24554c37f2067fe569fc9eebb815dfab2b","head":{"label":"greenua14:develop","ref":"develop","sha":"ae10ef24554c37f2067fe569fc9eebb815dfab2b","user":{"login":"greenua14","id":6191300,"avatar_url":"https://avatars.githubusercontent.com/u/6191300?v=3","gravatar_id":"","url":"https://api.github.com/users/greenua14","html_url":"https://github.com/greenua14","followers_url":"https://api.github.com/users/greenua14/followers","following_url":"https://api.github.com/users/greenua14/following{/other_user}","gists_url":"https://api.github.com/users/greenua14/gists{/gist_id}","starred_url":"https://api.github.com/users/greenua14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenua14/subscriptions","organizations_url":"https://api.github.com/users/greenua14/orgs","repos_url":"https://api.github.com/users/greenua14/repos","events_url":"https://api.github.com/users/greenua14/events{/privacy}","received_events_url":"https://api.github.com/users/greenua14/received_events","type":"User","site_admin":false},"repo":{"id":27331961,"name":"SF2HomeWork","full_name":"greenua14/SF2HomeWork","owner":{"login":"greenua14","id":6191300,"avatar_url":"https://avatars.githubusercontent.com/u/6191300?v=3","gravatar_id":"","url":"https://api.github.com/users/greenua14","html_url":"https://github.com/greenua14","followers_url":"https://api.github.com/users/greenua14/followers","following_url":"https://api.github.com/users/greenua14/following{/other_user}","gists_url":"https://api.github.com/users/greenua14/gists{/gist_id}","starred_url":"https://api.github.com/users/greenua14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenua14/subscriptions","organizations_url":"https://api.github.com/users/greenua14/orgs","repos_url":"https://api.github.com/users/greenua14/repos","events_url":"https://api.github.com/users/greenua14/events{/privacy}","received_events_url":"https://api.github.com/users/greenua14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greenua14/SF2HomeWork","description":"","fork":false,"url":"https://api.github.com/repos/greenua14/SF2HomeWork","forks_url":"https://api.github.com/repos/greenua14/SF2HomeWork/forks","keys_url":"https://api.github.com/repos/greenua14/SF2HomeWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenua14/SF2HomeWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenua14/SF2HomeWork/teams","hooks_url":"https://api.github.com/repos/greenua14/SF2HomeWork/hooks","issue_events_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/events{/number}","events_url":"https://api.github.com/repos/greenua14/SF2HomeWork/events","assignees_url":"https://api.github.com/repos/greenua14/SF2HomeWork/assignees{/user}","branches_url":"https://api.github.com/repos/greenua14/SF2HomeWork/branches{/branch}","tags_url":"https://api.github.com/repos/greenua14/SF2HomeWork/tags","blobs_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenua14/SF2HomeWork/statuses/{sha}","languages_url":"https://api.github.com/repos/greenua14/SF2HomeWork/languages","stargazers_url":"https://api.github.com/repos/greenua14/SF2HomeWork/stargazers","contributors_url":"https://api.github.com/repos/greenua14/SF2HomeWork/contributors","subscribers_url":"https://api.github.com/repos/greenua14/SF2HomeWork/subscribers","subscription_url":"https://api.github.com/repos/greenua14/SF2HomeWork/subscription","commits_url":"https://api.github.com/repos/greenua14/SF2HomeWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenua14/SF2HomeWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/comments/{number}","contents_url":"https://api.github.com/repos/greenua14/SF2HomeWork/contents/{+path}","compare_url":"https://api.github.com/repos/greenua14/SF2HomeWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenua14/SF2HomeWork/merges","archive_url":"https://api.github.com/repos/greenua14/SF2HomeWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenua14/SF2HomeWork/downloads","issues_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues{/number}","pulls_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls{/number}","milestones_url":"https://api.github.com/repos/greenua14/SF2HomeWork/milestones{/number}","notifications_url":"https://api.github.com/repos/greenua14/SF2HomeWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenua14/SF2HomeWork/labels{/name}","releases_url":"https://api.github.com/repos/greenua14/SF2HomeWork/releases{/id}","created_at":"2014-11-30T10:28:42Z","updated_at":"2015-01-12T21:37:57Z","pushed_at":"2015-01-12T21:37:57Z","git_url":"git://github.com/greenua14/SF2HomeWork.git","ssh_url":"git@github.com:greenua14/SF2HomeWork.git","clone_url":"https://github.com/greenua14/SF2HomeWork.git","svn_url":"https://github.com/greenua14/SF2HomeWork","homepage":null,"size":692,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"greenua14:master","ref":"master","sha":"5d213df748a5f386ea5dcb50db9b7c920839b9e9","user":{"login":"greenua14","id":6191300,"avatar_url":"https://avatars.githubusercontent.com/u/6191300?v=3","gravatar_id":"","url":"https://api.github.com/users/greenua14","html_url":"https://github.com/greenua14","followers_url":"https://api.github.com/users/greenua14/followers","following_url":"https://api.github.com/users/greenua14/following{/other_user}","gists_url":"https://api.github.com/users/greenua14/gists{/gist_id}","starred_url":"https://api.github.com/users/greenua14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenua14/subscriptions","organizations_url":"https://api.github.com/users/greenua14/orgs","repos_url":"https://api.github.com/users/greenua14/repos","events_url":"https://api.github.com/users/greenua14/events{/privacy}","received_events_url":"https://api.github.com/users/greenua14/received_events","type":"User","site_admin":false},"repo":{"id":27331961,"name":"SF2HomeWork","full_name":"greenua14/SF2HomeWork","owner":{"login":"greenua14","id":6191300,"avatar_url":"https://avatars.githubusercontent.com/u/6191300?v=3","gravatar_id":"","url":"https://api.github.com/users/greenua14","html_url":"https://github.com/greenua14","followers_url":"https://api.github.com/users/greenua14/followers","following_url":"https://api.github.com/users/greenua14/following{/other_user}","gists_url":"https://api.github.com/users/greenua14/gists{/gist_id}","starred_url":"https://api.github.com/users/greenua14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenua14/subscriptions","organizations_url":"https://api.github.com/users/greenua14/orgs","repos_url":"https://api.github.com/users/greenua14/repos","events_url":"https://api.github.com/users/greenua14/events{/privacy}","received_events_url":"https://api.github.com/users/greenua14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greenua14/SF2HomeWork","description":"","fork":false,"url":"https://api.github.com/repos/greenua14/SF2HomeWork","forks_url":"https://api.github.com/repos/greenua14/SF2HomeWork/forks","keys_url":"https://api.github.com/repos/greenua14/SF2HomeWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenua14/SF2HomeWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenua14/SF2HomeWork/teams","hooks_url":"https://api.github.com/repos/greenua14/SF2HomeWork/hooks","issue_events_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/events{/number}","events_url":"https://api.github.com/repos/greenua14/SF2HomeWork/events","assignees_url":"https://api.github.com/repos/greenua14/SF2HomeWork/assignees{/user}","branches_url":"https://api.github.com/repos/greenua14/SF2HomeWork/branches{/branch}","tags_url":"https://api.github.com/repos/greenua14/SF2HomeWork/tags","blobs_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenua14/SF2HomeWork/statuses/{sha}","languages_url":"https://api.github.com/repos/greenua14/SF2HomeWork/languages","stargazers_url":"https://api.github.com/repos/greenua14/SF2HomeWork/stargazers","contributors_url":"https://api.github.com/repos/greenua14/SF2HomeWork/contributors","subscribers_url":"https://api.github.com/repos/greenua14/SF2HomeWork/subscribers","subscription_url":"https://api.github.com/repos/greenua14/SF2HomeWork/subscription","commits_url":"https://api.github.com/repos/greenua14/SF2HomeWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenua14/SF2HomeWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenua14/SF2HomeWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/comments/{number}","contents_url":"https://api.github.com/repos/greenua14/SF2HomeWork/contents/{+path}","compare_url":"https://api.github.com/repos/greenua14/SF2HomeWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenua14/SF2HomeWork/merges","archive_url":"https://api.github.com/repos/greenua14/SF2HomeWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenua14/SF2HomeWork/downloads","issues_url":"https://api.github.com/repos/greenua14/SF2HomeWork/issues{/number}","pulls_url":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls{/number}","milestones_url":"https://api.github.com/repos/greenua14/SF2HomeWork/milestones{/number}","notifications_url":"https://api.github.com/repos/greenua14/SF2HomeWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenua14/SF2HomeWork/labels{/name}","releases_url":"https://api.github.com/repos/greenua14/SF2HomeWork/releases{/id}","created_at":"2014-11-30T10:28:42Z","updated_at":"2015-01-12T21:37:57Z","pushed_at":"2015-01-12T21:37:57Z","git_url":"git://github.com/greenua14/SF2HomeWork.git","ssh_url":"git@github.com:greenua14/SF2HomeWork.git","clone_url":"https://github.com/greenua14/SF2HomeWork.git","svn_url":"https://github.com/greenua14/SF2HomeWork","homepage":null,"size":692,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7"},"html":{"href":"https://github.com/greenua14/SF2HomeWork/pull/7"},"issue":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/7"},"comments":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/greenua14/SF2HomeWork/statuses/ae10ef24554c37f2067fe569fc9eebb815dfab2b"}}}}