{"action":"created","comment":{"url":"https://api.github.com/repos/flarum/core/pulls/comments/49381454","id":49381454,"diff_hunk":"@@ -44,6 +44,26 @@ public function __construct(Dispatcher $bus)\n     }\n \n     /**\n+     * @param UserPostData $data\n+     */\n+    public function requireSudo($data)\n+    {\n+        // Search trough $data[attributes] array and if\n+        // elements from $skip array don't exist\n+        // return true\n+        $skip = ['readTime'];\n+        foreach ($skip as $key)","path":"src/Api/Controller/UpdateUserController.php","position":12,"original_position":12,"commit_id":"8b40962982016a8252cb16b91e903b409182535e","original_commit_id":"8b40962982016a8252cb16b91e903b409182535e","user":{"login":"Nitpick-CI","id":12626182,"avatar_url":"https://avatars.githubusercontent.com/u/12626182?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"Expected 1 space after closing parenthesis; found 9","created_at":"2016-01-11T21:29:40Z","updated_at":"2016-01-11T21:29:40Z","html_url":"https://github.com/flarum/core/pull/733#discussion_r49381454","pull_request_url":"https://api.github.com/repos/flarum/core/pulls/733","_links":{"self":{"href":"https://api.github.com/repos/flarum/core/pulls/comments/49381454"},"html":{"href":"https://github.com/flarum/core/pull/733#discussion_r49381454"},"pull_request":{"href":"https://api.github.com/repos/flarum/core/pulls/733"}}},"pull_request":{"url":"https://api.github.com/repos/flarum/core/pulls/733","id":55679018,"html_url":"https://github.com/flarum/core/pull/733","diff_url":"https://github.com/flarum/core/pull/733.diff","patch_url":"https://github.com/flarum/core/pull/733.patch","issue_url":"https://api.github.com/repos/flarum/core/issues/733","number":733,"state":"open","locked":false,"title":"#679 Ask for confirmation before \"Mark all as Read\"","user":{"login":"bogdanteodoru","id":2531337,"avatar_url":"https://avatars.githubusercontent.com/u/2531337?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteodoru","html_url":"https://github.com/bogdanteodoru","followers_url":"https://api.github.com/users/bogdanteodoru/followers","following_url":"https://api.github.com/users/bogdanteodoru/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteodoru/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteodoru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteodoru/subscriptions","organizations_url":"https://api.github.com/users/bogdanteodoru/orgs","repos_url":"https://api.github.com/users/bogdanteodoru/repos","events_url":"https://api.github.com/users/bogdanteodoru/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteodoru/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-11T21:16:33Z","updated_at":"2016-01-11T21:29:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d0a5d4577b00b5a85cbb584b6b463071fbf47f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flarum/core/pulls/733/commits","review_comments_url":"https://api.github.com/repos/flarum/core/pulls/733/comments","review_comment_url":"https://api.github.com/repos/flarum/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flarum/core/issues/733/comments","statuses_url":"https://api.github.com/repos/flarum/core/statuses/8b40962982016a8252cb16b91e903b409182535e","head":{"label":"bogdanteodoru:master","ref":"master","sha":"8b40962982016a8252cb16b91e903b409182535e","user":{"login":"bogdanteodoru","id":2531337,"avatar_url":"https://avatars.githubusercontent.com/u/2531337?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteodoru","html_url":"https://github.com/bogdanteodoru","followers_url":"https://api.github.com/users/bogdanteodoru/followers","following_url":"https://api.github.com/users/bogdanteodoru/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteodoru/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteodoru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteodoru/subscriptions","organizations_url":"https://api.github.com/users/bogdanteodoru/orgs","repos_url":"https://api.github.com/users/bogdanteodoru/repos","events_url":"https://api.github.com/users/bogdanteodoru/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteodoru/received_events","type":"User","site_admin":false},"repo":{"id":49372069,"name":"core","full_name":"bogdanteodoru/core","owner":{"login":"bogdanteodoru","id":2531337,"avatar_url":"https://avatars.githubusercontent.com/u/2531337?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanteodoru","html_url":"https://github.com/bogdanteodoru","followers_url":"https://api.github.com/users/bogdanteodoru/followers","following_url":"https://api.github.com/users/bogdanteodoru/following{/other_user}","gists_url":"https://api.github.com/users/bogdanteodoru/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanteodoru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanteodoru/subscriptions","organizations_url":"https://api.github.com/users/bogdanteodoru/orgs","repos_url":"https://api.github.com/users/bogdanteodoru/repos","events_url":"https://api.github.com/users/bogdanteodoru/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanteodoru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bogdanteodoru/core","description":"","fork":true,"url":"https://api.github.com/repos/bogdanteodoru/core","forks_url":"https://api.github.com/repos/bogdanteodoru/core/forks","keys_url":"https://api.github.com/repos/bogdanteodoru/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bogdanteodoru/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bogdanteodoru/core/teams","hooks_url":"https://api.github.com/repos/bogdanteodoru/core/hooks","issue_events_url":"https://api.github.com/repos/bogdanteodoru/core/issues/events{/number}","events_url":"https://api.github.com/repos/bogdanteodoru/core/events","assignees_url":"https://api.github.com/repos/bogdanteodoru/core/assignees{/user}","branches_url":"https://api.github.com/repos/bogdanteodoru/core/branches{/branch}","tags_url":"https://api.github.com/repos/bogdanteodoru/core/tags","blobs_url":"https://api.github.com/repos/bogdanteodoru/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bogdanteodoru/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bogdanteodoru/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/bogdanteodoru/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bogdanteodoru/core/statuses/{sha}","languages_url":"https://api.github.com/repos/bogdanteodoru/core/languages","stargazers_url":"https://api.github.com/repos/bogdanteodoru/core/stargazers","contributors_url":"https://api.github.com/repos/bogdanteodoru/core/contributors","subscribers_url":"https://api.github.com/repos/bogdanteodoru/core/subscribers","subscription_url":"https://api.github.com/repos/bogdanteodoru/core/subscription","commits_url":"https://api.github.com/repos/bogdanteodoru/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/bogdanteodoru/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/bogdanteodoru/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/bogdanteodoru/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/bogdanteodoru/core/contents/{+path}","compare_url":"https://api.github.com/repos/bogdanteodoru/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bogdanteodoru/core/merges","archive_url":"https://api.github.com/repos/bogdanteodoru/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bogdanteodoru/core/downloads","issues_url":"https://api.github.com/repos/bogdanteodoru/core/issues{/number}","pulls_url":"https://api.github.com/repos/bogdanteodoru/core/pulls{/number}","milestones_url":"https://api.github.com/repos/bogdanteodoru/core/milestones{/number}","notifications_url":"https://api.github.com/repos/bogdanteodoru/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bogdanteodoru/core/labels{/name}","releases_url":"https://api.github.com/repos/bogdanteodoru/core/releases{/id}","created_at":"2016-01-10T15:14:51Z","updated_at":"2016-01-11T21:15:54Z","pushed_at":"2016-01-11T21:29:39Z","git_url":"git://github.com/bogdanteodoru/core.git","ssh_url":"git@github.com:bogdanteodoru/core.git","clone_url":"https://github.com/bogdanteodoru/core.git","svn_url":"https://github.com/bogdanteodoru/core","homepage":"","size":4768,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"flarum:master","ref":"master","sha":"23eaee6b168f020f48a4f314b90c4d1b6e898da8","user":{"login":"flarum","id":5549034,"avatar_url":"https://avatars.githubusercontent.com/u/5549034?v=3","gravatar_id":"","url":"https://api.github.com/users/flarum","html_url":"https://github.com/flarum","followers_url":"https://api.github.com/users/flarum/followers","following_url":"https://api.github.com/users/flarum/following{/other_user}","gists_url":"https://api.github.com/users/flarum/gists{/gist_id}","starred_url":"https://api.github.com/users/flarum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarum/subscriptions","organizations_url":"https://api.github.com/users/flarum/orgs","repos_url":"https://api.github.com/users/flarum/repos","events_url":"https://api.github.com/users/flarum/events{/privacy}","received_events_url":"https://api.github.com/users/flarum/received_events","type":"Organization","site_admin":false},"repo":{"id":28257573,"name":"core","full_name":"flarum/core","owner":{"login":"flarum","id":5549034,"avatar_url":"https://avatars.githubusercontent.com/u/5549034?v=3","gravatar_id":"","url":"https://api.github.com/users/flarum","html_url":"https://github.com/flarum","followers_url":"https://api.github.com/users/flarum/followers","following_url":"https://api.github.com/users/flarum/following{/other_user}","gists_url":"https://api.github.com/users/flarum/gists{/gist_id}","starred_url":"https://api.github.com/users/flarum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarum/subscriptions","organizations_url":"https://api.github.com/users/flarum/orgs","repos_url":"https://api.github.com/users/flarum/repos","events_url":"https://api.github.com/users/flarum/events{/privacy}","received_events_url":"https://api.github.com/users/flarum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flarum/core","description":"","fork":false,"url":"https://api.github.com/repos/flarum/core","forks_url":"https://api.github.com/repos/flarum/core/forks","keys_url":"https://api.github.com/repos/flarum/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flarum/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flarum/core/teams","hooks_url":"https://api.github.com/repos/flarum/core/hooks","issue_events_url":"https://api.github.com/repos/flarum/core/issues/events{/number}","events_url":"https://api.github.com/repos/flarum/core/events","assignees_url":"https://api.github.com/repos/flarum/core/assignees{/user}","branches_url":"https://api.github.com/repos/flarum/core/branches{/branch}","tags_url":"https://api.github.com/repos/flarum/core/tags","blobs_url":"https://api.github.com/repos/flarum/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flarum/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flarum/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/flarum/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flarum/core/statuses/{sha}","languages_url":"https://api.github.com/repos/flarum/core/languages","stargazers_url":"https://api.github.com/repos/flarum/core/stargazers","contributors_url":"https://api.github.com/repos/flarum/core/contributors","subscribers_url":"https://api.github.com/repos/flarum/core/subscribers","subscription_url":"https://api.github.com/repos/flarum/core/subscription","commits_url":"https://api.github.com/repos/flarum/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/flarum/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/flarum/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/flarum/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/flarum/core/contents/{+path}","compare_url":"https://api.github.com/repos/flarum/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flarum/core/merges","archive_url":"https://api.github.com/repos/flarum/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flarum/core/downloads","issues_url":"https://api.github.com/repos/flarum/core/issues{/number}","pulls_url":"https://api.github.com/repos/flarum/core/pulls{/number}","milestones_url":"https://api.github.com/repos/flarum/core/milestones{/number}","notifications_url":"https://api.github.com/repos/flarum/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flarum/core/labels{/name}","releases_url":"https://api.github.com/repos/flarum/core/releases{/id}","created_at":"2014-12-20T05:12:03Z","updated_at":"2016-01-11T21:00:40Z","pushed_at":"2016-01-11T21:29:39Z","git_url":"git://github.com/flarum/core.git","ssh_url":"git@github.com:flarum/core.git","clone_url":"https://github.com/flarum/core.git","svn_url":"https://github.com/flarum/core","homepage":"","size":5566,"stargazers_count":2489,"watchers_count":2489,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":221,"mirror_url":null,"open_issues_count":195,"forks":221,"open_issues":195,"watchers":2489,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flarum/core/pulls/733"},"html":{"href":"https://github.com/flarum/core/pull/733"},"issue":{"href":"https://api.github.com/repos/flarum/core/issues/733"},"comments":{"href":"https://api.github.com/repos/flarum/core/issues/733/comments"},"review_comments":{"href":"https://api.github.com/repos/flarum/core/pulls/733/comments"},"review_comment":{"href":"https://api.github.com/repos/flarum/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flarum/core/pulls/733/commits"},"statuses":{"href":"https://api.github.com/repos/flarum/core/statuses/8b40962982016a8252cb16b91e903b409182535e"}}}}