{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/comments/22437948","id":22437948,"diff_hunk":"@@ -0,0 +1,307 @@\n+<?php\n+/**\n+*\n+* This file is part of the phpBB Forum Software package.\n+*\n+* @copyright (c) phpBB Limited <https://www.phpbb.com>\n+* @license GNU General Public License, version 2 (GPL-2.0)\n+*\n+* For full copyright and license information, please see\n+* the docs/CREDITS.txt file.\n+*\n+*/\n+namespace phpbb\\console\\command\\attachments;\n+\n+use phpbb\\finder;\n+use phpbb\\filesystem as phpbb_filesystem;\n+use phpbb\\config\\config;\n+use phpbb\\console\\command\\command;\n+use phpbb\\mimetype\\guesser;\n+use phpbb\\db\\driver\\driver_interface;\n+\n+use Symfony\\Component\\Console\\Input\\InputOption;\n+use Symfony\\Component\\Filesystem\\Filesystem;\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Component\\Console\\Output\\OutputInterface;\n+\n+class check extends command","path":"phpBB/phpbb/console/command/attachments/check.php","position":27,"original_position":27,"commit_id":"3f18aeeec3087271a48ba0ca230ea9fe02316091","original_commit_id":"3f18aeeec3087271a48ba0ca230ea9fe02316091","user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"body":"should be an extension","created_at":"2015-01-04T09:45:21Z","updated_at":"2015-01-04T09:45:21Z","html_url":"https://github.com/phpbb/area51-phpbb3/pull/4#discussion_r22437948","pull_request_url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/comments/22437948"},"html":{"href":"https://github.com/phpbb/area51-phpbb3/pull/4#discussion_r22437948"},"pull_request":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4","id":26789149,"html_url":"https://github.com/phpbb/area51-phpbb3/pull/4","diff_url":"https://github.com/phpbb/area51-phpbb3/pull/4.diff","patch_url":"https://github.com/phpbb/area51-phpbb3/pull/4.patch","issue_url":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/4","number":4,"state":"open","locked":false,"title":"Add team security extension, some special recovery console commands and some security improvements","user":{"login":"michaelcullum","id":211740,"avatar_url":"https://avatars.githubusercontent.com/u/211740?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcullum","html_url":"https://github.com/michaelcullum","followers_url":"https://api.github.com/users/michaelcullum/followers","following_url":"https://api.github.com/users/michaelcullum/following{/other_user}","gists_url":"https://api.github.com/users/michaelcullum/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcullum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcullum/subscriptions","organizations_url":"https://api.github.com/users/michaelcullum/orgs","repos_url":"https://api.github.com/users/michaelcullum/repos","events_url":"https://api.github.com/users/michaelcullum/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcullum/received_events","type":"User","site_admin":false},"body":"@vsephpbb @Nicofuma ","created_at":"2015-01-04T01:15:58Z","updated_at":"2015-01-04T09:45:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb78389cfda02eedc99d3b7273449a0d5b2d1ee5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4/commits","review_comments_url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4/comments","review_comment_url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/comments/{number}","comments_url":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/4/comments","statuses_url":"https://api.github.com/repos/phpbb/area51-phpbb3/statuses/3f18aeeec3087271a48ba0ca230ea9fe02316091","head":{"label":"michaelcullum:task/security","ref":"task/security","sha":"3f18aeeec3087271a48ba0ca230ea9fe02316091","user":{"login":"michaelcullum","id":211740,"avatar_url":"https://avatars.githubusercontent.com/u/211740?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcullum","html_url":"https://github.com/michaelcullum","followers_url":"https://api.github.com/users/michaelcullum/followers","following_url":"https://api.github.com/users/michaelcullum/following{/other_user}","gists_url":"https://api.github.com/users/michaelcullum/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcullum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcullum/subscriptions","organizations_url":"https://api.github.com/users/michaelcullum/orgs","repos_url":"https://api.github.com/users/michaelcullum/repos","events_url":"https://api.github.com/users/michaelcullum/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcullum/received_events","type":"User","site_admin":false},"repo":{"id":23473617,"name":"area51-phpbb3","full_name":"michaelcullum/area51-phpbb3","owner":{"login":"michaelcullum","id":211740,"avatar_url":"https://avatars.githubusercontent.com/u/211740?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcullum","html_url":"https://github.com/michaelcullum","followers_url":"https://api.github.com/users/michaelcullum/followers","following_url":"https://api.github.com/users/michaelcullum/following{/other_user}","gists_url":"https://api.github.com/users/michaelcullum/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcullum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcullum/subscriptions","organizations_url":"https://api.github.com/users/michaelcullum/orgs","repos_url":"https://api.github.com/users/michaelcullum/repos","events_url":"https://api.github.com/users/michaelcullum/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcullum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelcullum/area51-phpbb3","description":"Fork of phpBB for the development discussion board on area51.phpbb.com.","fork":true,"url":"https://api.github.com/repos/michaelcullum/area51-phpbb3","forks_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/forks","keys_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/teams","hooks_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/hooks","issue_events_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/issues/events{/number}","events_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/events","assignees_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/assignees{/user}","branches_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/branches{/branch}","tags_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/tags","blobs_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/languages","stargazers_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/stargazers","contributors_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/contributors","subscribers_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/subscribers","subscription_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/subscription","commits_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/issues/comments/{number}","contents_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/contents/{+path}","compare_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/merges","archive_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/downloads","issues_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/issues{/number}","pulls_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/labels{/name}","releases_url":"https://api.github.com/repos/michaelcullum/area51-phpbb3/releases{/id}","created_at":"2014-08-29T18:29:04Z","updated_at":"2015-01-04T01:14:11Z","pushed_at":"2015-01-04T01:14:08Z","git_url":"git://github.com/michaelcullum/area51-phpbb3.git","ssh_url":"git@github.com:michaelcullum/area51-phpbb3.git","clone_url":"https://github.com/michaelcullum/area51-phpbb3.git","svn_url":"https://github.com/michaelcullum/area51-phpbb3","homepage":"https://area51.phpbb.com/phpBB/","size":40011,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"phpbb:master","ref":"master","sha":"734defc56291d0d43fd82fa085366c51ba08a1ec","user":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":2015320,"name":"area51-phpbb3","full_name":"phpbb/area51-phpbb3","owner":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/area51-phpbb3","description":"Fork of phpBB for the development discussion board on area51.phpbb.com.","fork":false,"url":"https://api.github.com/repos/phpbb/area51-phpbb3","forks_url":"https://api.github.com/repos/phpbb/area51-phpbb3/forks","keys_url":"https://api.github.com/repos/phpbb/area51-phpbb3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/area51-phpbb3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/area51-phpbb3/teams","hooks_url":"https://api.github.com/repos/phpbb/area51-phpbb3/hooks","issue_events_url":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/area51-phpbb3/events","assignees_url":"https://api.github.com/repos/phpbb/area51-phpbb3/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/area51-phpbb3/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/area51-phpbb3/tags","blobs_url":"https://api.github.com/repos/phpbb/area51-phpbb3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/area51-phpbb3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/area51-phpbb3/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/area51-phpbb3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/area51-phpbb3/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/area51-phpbb3/languages","stargazers_url":"https://api.github.com/repos/phpbb/area51-phpbb3/stargazers","contributors_url":"https://api.github.com/repos/phpbb/area51-phpbb3/contributors","subscribers_url":"https://api.github.com/repos/phpbb/area51-phpbb3/subscribers","subscription_url":"https://api.github.com/repos/phpbb/area51-phpbb3/subscription","commits_url":"https://api.github.com/repos/phpbb/area51-phpbb3/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/area51-phpbb3/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/area51-phpbb3/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/comments/{number}","contents_url":"https://api.github.com/repos/phpbb/area51-phpbb3/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/area51-phpbb3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/area51-phpbb3/merges","archive_url":"https://api.github.com/repos/phpbb/area51-phpbb3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/area51-phpbb3/downloads","issues_url":"https://api.github.com/repos/phpbb/area51-phpbb3/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/area51-phpbb3/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/area51-phpbb3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/area51-phpbb3/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/area51-phpbb3/releases{/id}","created_at":"2011-07-07T23:59:38Z","updated_at":"2015-01-04T01:14:45Z","pushed_at":"2015-01-04T01:14:40Z","git_url":"git://github.com/phpbb/area51-phpbb3.git","ssh_url":"git@github.com:phpbb/area51-phpbb3.git","clone_url":"https://github.com/phpbb/area51-phpbb3.git","svn_url":"https://github.com/phpbb/area51-phpbb3","homepage":"https://area51.phpbb.com/phpBB/","size":51011,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":1,"forks":15,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4"},"html":{"href":"https://github.com/phpbb/area51-phpbb3/pull/4"},"issue":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/4"},"comments":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/area51-phpbb3/statuses/3f18aeeec3087271a48ba0ca230ea9fe02316091"}}}}