GitHub PullRequestReviewCommentEvent at 2014-11-17 14:36:24
Repository: bookshelf
Actor: bakulinav
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/comments/20438175","id":20438175,"diff_hunk":"@@ -42,7 +42,7 @@ public function  addContactAction()\n             $errors['contact'] = 'Пользователь не найден';\n         }\n \n-        return $this->render('User', 'ChangeData', ['user' => User::findOneBy(['email' => $this->session->get('email')]), 'errors' => $errors]);\n+        return $this->render('User', 'ChangeData', ['user' => $this->getCurrentUser(), 'errors' => $errors]);","path":"src/Bookshelf/Controller/ContactsController.php","position":14,"original_position":14,"commit_id":"7ada0fbdec77ccdd0ddd6c90713cd1f1a52bd624","original_commit_id":"7ada0fbdec77ccdd0ddd6c90713cd1f1a52bd624","user":{"login":"bakulinav","id":341644,"avatar_url":"https://avatars.githubusercontent.com/u/341644?v=3","gravatar_id":"","url":"https://api.github.com/users/bakulinav","html_url":"https://github.com/bakulinav","followers_url":"https://api.github.com/users/bakulinav/followers","following_url":"https://api.github.com/users/bakulinav/following{/other_user}","gists_url":"https://api.github.com/users/bakulinav/gists{/gist_id}","starred_url":"https://api.github.com/users/bakulinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakulinav/subscriptions","organizations_url":"https://api.github.com/users/bakulinav/orgs","repos_url":"https://api.github.com/users/bakulinav/repos","events_url":"https://api.github.com/users/bakulinav/events{/privacy}","received_events_url":"https://api.github.com/users/bakulinav/received_events","type":"User","site_admin":false},"body":"you are already call ```$this->getCurrentUser()``` and put result in ```$user```","created_at":"2014-11-17T14:36:24Z","updated_at":"2014-11-17T14:36:24Z","html_url":"https://github.com/bakulinav/bookshelf/pull/36#discussion_r20438175","pull_request_url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/comments/20438175"},"html":{"href":"https://github.com/bakulinav/bookshelf/pull/36#discussion_r20438175"},"pull_request":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36","id":24537134,"html_url":"https://github.com/bakulinav/bookshelf/pull/36","diff_url":"https://github.com/bakulinav/bookshelf/pull/36.diff","patch_url":"https://github.com/bakulinav/bookshelf/pull/36.patch","issue_url":"https://api.github.com/repos/bakulinav/bookshelf/issues/36","number":36,"state":"open","locked":false,"title":"Added Current user property","user":{"login":"Hantim","id":9048513,"avatar_url":"https://avatars.githubusercontent.com/u/9048513?v=3","gravatar_id":"","url":"https://api.github.com/users/Hantim","html_url":"https://github.com/Hantim","followers_url":"https://api.github.com/users/Hantim/followers","following_url":"https://api.github.com/users/Hantim/following{/other_user}","gists_url":"https://api.github.com/users/Hantim/gists{/gist_id}","starred_url":"https://api.github.com/users/Hantim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hantim/subscriptions","organizations_url":"https://api.github.com/users/Hantim/orgs","repos_url":"https://api.github.com/users/Hantim/repos","events_url":"https://api.github.com/users/Hantim/events{/privacy}","received_events_url":"https://api.github.com/users/Hantim/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-17T14:05:25Z","updated_at":"2014-11-17T14:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e7ed3fa211db597793bafade12b96363c55f2e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36/commits","review_comments_url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36/comments","review_comment_url":"https://api.github.com/repos/bakulinav/bookshelf/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bakulinav/bookshelf/issues/36/comments","statuses_url":"https://api.github.com/repos/bakulinav/bookshelf/statuses/7ada0fbdec77ccdd0ddd6c90713cd1f1a52bd624","head":{"label":"Hantim:Current_User","ref":"Current_User","sha":"7ada0fbdec77ccdd0ddd6c90713cd1f1a52bd624","user":{"login":"Hantim","id":9048513,"avatar_url":"https://avatars.githubusercontent.com/u/9048513?v=3","gravatar_id":"","url":"https://api.github.com/users/Hantim","html_url":"https://github.com/Hantim","followers_url":"https://api.github.com/users/Hantim/followers","following_url":"https://api.github.com/users/Hantim/following{/other_user}","gists_url":"https://api.github.com/users/Hantim/gists{/gist_id}","starred_url":"https://api.github.com/users/Hantim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hantim/subscriptions","organizations_url":"https://api.github.com/users/Hantim/orgs","repos_url":"https://api.github.com/users/Hantim/repos","events_url":"https://api.github.com/users/Hantim/events{/privacy}","received_events_url":"https://api.github.com/users/Hantim/received_events","type":"User","site_admin":false},"repo":{"id":24883374,"name":"bookshelf","full_name":"Hantim/bookshelf","owner":{"login":"Hantim","id":9048513,"avatar_url":"https://avatars.githubusercontent.com/u/9048513?v=3","gravatar_id":"","url":"https://api.github.com/users/Hantim","html_url":"https://github.com/Hantim","followers_url":"https://api.github.com/users/Hantim/followers","following_url":"https://api.github.com/users/Hantim/following{/other_user}","gists_url":"https://api.github.com/users/Hantim/gists{/gist_id}","starred_url":"https://api.github.com/users/Hantim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hantim/subscriptions","organizations_url":"https://api.github.com/users/Hantim/orgs","repos_url":"https://api.github.com/users/Hantim/repos","events_url":"https://api.github.com/users/Hantim/events{/privacy}","received_events_url":"https://api.github.com/users/Hantim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hantim/bookshelf","description":"Book storage for Opensoft","fork":true,"url":"https://api.github.com/repos/Hantim/bookshelf","forks_url":"https://api.github.com/repos/Hantim/bookshelf/forks","keys_url":"https://api.github.com/repos/Hantim/bookshelf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hantim/bookshelf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hantim/bookshelf/teams","hooks_url":"https://api.github.com/repos/Hantim/bookshelf/hooks","issue_events_url":"https://api.github.com/repos/Hantim/bookshelf/issues/events{/number}","events_url":"https://api.github.com/repos/Hantim/bookshelf/events","assignees_url":"https://api.github.com/repos/Hantim/bookshelf/assignees{/user}","branches_url":"https://api.github.com/repos/Hantim/bookshelf/branches{/branch}","tags_url":"https://api.github.com/repos/Hantim/bookshelf/tags","blobs_url":"https://api.github.com/repos/Hantim/bookshelf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hantim/bookshelf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hantim/bookshelf/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hantim/bookshelf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hantim/bookshelf/statuses/{sha}","languages_url":"https://api.github.com/repos/Hantim/bookshelf/languages","stargazers_url":"https://api.github.com/repos/Hantim/bookshelf/stargazers","contributors_url":"https://api.github.com/repos/Hantim/bookshelf/contributors","subscribers_url":"https://api.github.com/repos/Hantim/bookshelf/subscribers","subscription_url":"https://api.github.com/repos/Hantim/bookshelf/subscription","commits_url":"https://api.github.com/repos/Hantim/bookshelf/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hantim/bookshelf/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hantim/bookshelf/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hantim/bookshelf/issues/comments/{number}","contents_url":"https://api.github.com/repos/Hantim/bookshelf/contents/{+path}","compare_url":"https://api.github.com/repos/Hantim/bookshelf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hantim/bookshelf/merges","archive_url":"https://api.github.com/repos/Hantim/bookshelf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hantim/bookshelf/downloads","issues_url":"https://api.github.com/repos/Hantim/bookshelf/issues{/number}","pulls_url":"https://api.github.com/repos/Hantim/bookshelf/pulls{/number}","milestones_url":"https://api.github.com/repos/Hantim/bookshelf/milestones{/number}","notifications_url":"https://api.github.com/repos/Hantim/bookshelf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hantim/bookshelf/labels{/name}","releases_url":"https://api.github.com/repos/Hantim/bookshelf/releases{/id}","created_at":"2014-10-07T08:58:31Z","updated_at":"2014-10-09T14:06:32Z","pushed_at":"2014-11-17T14:03:57Z","git_url":"git://github.com/Hantim/bookshelf.git","ssh_url":"git@github.com:Hantim/bookshelf.git","clone_url":"https://github.com/Hantim/bookshelf.git","svn_url":"https://github.com/Hantim/bookshelf","homepage":null,"size":715,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bakulinav:master","ref":"master","sha":"5d075e4c310bbe23155ce4ca970ad0161b748938","user":{"login":"bakulinav","id":341644,"avatar_url":"https://avatars.githubusercontent.com/u/341644?v=3","gravatar_id":"","url":"https://api.github.com/users/bakulinav","html_url":"https://github.com/bakulinav","followers_url":"https://api.github.com/users/bakulinav/followers","following_url":"https://api.github.com/users/bakulinav/following{/other_user}","gists_url":"https://api.github.com/users/bakulinav/gists{/gist_id}","starred_url":"https://api.github.com/users/bakulinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakulinav/subscriptions","organizations_url":"https://api.github.com/users/bakulinav/orgs","repos_url":"https://api.github.com/users/bakulinav/repos","events_url":"https://api.github.com/users/bakulinav/events{/privacy}","received_events_url":"https://api.github.com/users/bakulinav/received_events","type":"User","site_admin":false},"repo":{"id":24882220,"name":"bookshelf","full_name":"bakulinav/bookshelf","owner":{"login":"bakulinav","id":341644,"avatar_url":"https://avatars.githubusercontent.com/u/341644?v=3","gravatar_id":"","url":"https://api.github.com/users/bakulinav","html_url":"https://github.com/bakulinav","followers_url":"https://api.github.com/users/bakulinav/followers","following_url":"https://api.github.com/users/bakulinav/following{/other_user}","gists_url":"https://api.github.com/users/bakulinav/gists{/gist_id}","starred_url":"https://api.github.com/users/bakulinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakulinav/subscriptions","organizations_url":"https://api.github.com/users/bakulinav/orgs","repos_url":"https://api.github.com/users/bakulinav/repos","events_url":"https://api.github.com/users/bakulinav/events{/privacy}","received_events_url":"https://api.github.com/users/bakulinav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bakulinav/bookshelf","description":"Book storage for Opensoft","fork":false,"url":"https://api.github.com/repos/bakulinav/bookshelf","forks_url":"https://api.github.com/repos/bakulinav/bookshelf/forks","keys_url":"https://api.github.com/repos/bakulinav/bookshelf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakulinav/bookshelf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakulinav/bookshelf/teams","hooks_url":"https://api.github.com/repos/bakulinav/bookshelf/hooks","issue_events_url":"https://api.github.com/repos/bakulinav/bookshelf/issues/events{/number}","events_url":"https://api.github.com/repos/bakulinav/bookshelf/events","assignees_url":"https://api.github.com/repos/bakulinav/bookshelf/assignees{/user}","branches_url":"https://api.github.com/repos/bakulinav/bookshelf/branches{/branch}","tags_url":"https://api.github.com/repos/bakulinav/bookshelf/tags","blobs_url":"https://api.github.com/repos/bakulinav/bookshelf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakulinav/bookshelf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakulinav/bookshelf/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakulinav/bookshelf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakulinav/bookshelf/statuses/{sha}","languages_url":"https://api.github.com/repos/bakulinav/bookshelf/languages","stargazers_url":"https://api.github.com/repos/bakulinav/bookshelf/stargazers","contributors_url":"https://api.github.com/repos/bakulinav/bookshelf/contributors","subscribers_url":"https://api.github.com/repos/bakulinav/bookshelf/subscribers","subscription_url":"https://api.github.com/repos/bakulinav/bookshelf/subscription","commits_url":"https://api.github.com/repos/bakulinav/bookshelf/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakulinav/bookshelf/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakulinav/bookshelf/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakulinav/bookshelf/issues/comments/{number}","contents_url":"https://api.github.com/repos/bakulinav/bookshelf/contents/{+path}","compare_url":"https://api.github.com/repos/bakulinav/bookshelf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakulinav/bookshelf/merges","archive_url":"https://api.github.com/repos/bakulinav/bookshelf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakulinav/bookshelf/downloads","issues_url":"https://api.github.com/repos/bakulinav/bookshelf/issues{/number}","pulls_url":"https://api.github.com/repos/bakulinav/bookshelf/pulls{/number}","milestones_url":"https://api.github.com/repos/bakulinav/bookshelf/milestones{/number}","notifications_url":"https://api.github.com/repos/bakulinav/bookshelf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakulinav/bookshelf/labels{/name}","releases_url":"https://api.github.com/repos/bakulinav/bookshelf/releases{/id}","created_at":"2014-10-07T08:18:49Z","updated_at":"2014-10-10T11:59:10Z","pushed_at":"2014-11-17T13:09:24Z","git_url":"git://github.com/bakulinav/bookshelf.git","ssh_url":"git@github.com:bakulinav/bookshelf.git","clone_url":"https://github.com/bakulinav/bookshelf.git","svn_url":"https://github.com/bakulinav/bookshelf","homepage":null,"size":835,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36"},"html":{"href":"https://github.com/bakulinav/bookshelf/pull/36"},"issue":{"href":"https://api.github.com/repos/bakulinav/bookshelf/issues/36"},"comments":{"href":"https://api.github.com/repos/bakulinav/bookshelf/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bakulinav/bookshelf/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/bakulinav/bookshelf/statuses/7ada0fbdec77ccdd0ddd6c90713cd1f1a52bd624"}}}}