{"action":"opened","number":128,"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128","id":52133408,"html_url":"https://github.com/FriendsOfPHP/security-advisories/pull/128","diff_url":"https://github.com/FriendsOfPHP/security-advisories/pull/128.diff","patch_url":"https://github.com/FriendsOfPHP/security-advisories/pull/128.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/128","number":128,"state":"open","locked":false,"title":"Check any Composer repository","user":{"login":"thewilkybarkid","id":1784740,"avatar_url":"https://avatars.githubusercontent.com/u/1784740?v=3","gravatar_id":"","url":"https://api.github.com/users/thewilkybarkid","html_url":"https://github.com/thewilkybarkid","followers_url":"https://api.github.com/users/thewilkybarkid/followers","following_url":"https://api.github.com/users/thewilkybarkid/following{/other_user}","gists_url":"https://api.github.com/users/thewilkybarkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thewilkybarkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewilkybarkid/subscriptions","organizations_url":"https://api.github.com/users/thewilkybarkid/orgs","repos_url":"https://api.github.com/users/thewilkybarkid/repos","events_url":"https://api.github.com/users/thewilkybarkid/events{/privacy}","received_events_url":"https://api.github.com/users/thewilkybarkid/received_events","type":"User","site_admin":false},"body":"This is an attempt to implement #127 (and would allow #126 to pass). I haven't used the `ComposerRepository` class before, but couldn't see a simple way to consistently find out if a repository knew a particular package name, so it's doing a search then cycling through the results.","created_at":"2015-11-30T14:54:45Z","updated_at":"2015-11-30T14:54:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128/comments","review_comment_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/128/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/statuses/666001100d9af8a68a61591c85b0fb1f28f97fb8","head":{"label":"thewilkybarkid:composer-repositories","ref":"composer-repositories","sha":"666001100d9af8a68a61591c85b0fb1f28f97fb8","user":{"login":"thewilkybarkid","id":1784740,"avatar_url":"https://avatars.githubusercontent.com/u/1784740?v=3","gravatar_id":"","url":"https://api.github.com/users/thewilkybarkid","html_url":"https://github.com/thewilkybarkid","followers_url":"https://api.github.com/users/thewilkybarkid/followers","following_url":"https://api.github.com/users/thewilkybarkid/following{/other_user}","gists_url":"https://api.github.com/users/thewilkybarkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thewilkybarkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewilkybarkid/subscriptions","organizations_url":"https://api.github.com/users/thewilkybarkid/orgs","repos_url":"https://api.github.com/users/thewilkybarkid/repos","events_url":"https://api.github.com/users/thewilkybarkid/events{/privacy}","received_events_url":"https://api.github.com/users/thewilkybarkid/received_events","type":"User","site_admin":false},"repo":{"id":45172671,"name":"security-advisories","full_name":"thewilkybarkid/security-advisories","owner":{"login":"thewilkybarkid","id":1784740,"avatar_url":"https://avatars.githubusercontent.com/u/1784740?v=3","gravatar_id":"","url":"https://api.github.com/users/thewilkybarkid","html_url":"https://github.com/thewilkybarkid","followers_url":"https://api.github.com/users/thewilkybarkid/followers","following_url":"https://api.github.com/users/thewilkybarkid/following{/other_user}","gists_url":"https://api.github.com/users/thewilkybarkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thewilkybarkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewilkybarkid/subscriptions","organizations_url":"https://api.github.com/users/thewilkybarkid/orgs","repos_url":"https://api.github.com/users/thewilkybarkid/repos","events_url":"https://api.github.com/users/thewilkybarkid/events{/privacy}","received_events_url":"https://api.github.com/users/thewilkybarkid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thewilkybarkid/security-advisories","description":"A database of PHP security advisories","fork":true,"url":"https://api.github.com/repos/thewilkybarkid/security-advisories","forks_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/forks","keys_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/teams","hooks_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/hooks","issue_events_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/issues/events{/number}","events_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/events","assignees_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/assignees{/user}","branches_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/branches{/branch}","tags_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/tags","blobs_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/git/refs{/sha}","trees_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/statuses/{sha}","languages_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/languages","stargazers_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/stargazers","contributors_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/contributors","subscribers_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/subscribers","subscription_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/subscription","commits_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/commits{/sha}","git_commits_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/git/commits{/sha}","comments_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/comments{/number}","issue_comment_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/issues/comments{/number}","contents_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/contents/{+path}","compare_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/merges","archive_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/downloads","issues_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/issues{/number}","pulls_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/pulls{/number}","milestones_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/milestones{/number}","notifications_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/labels{/name}","releases_url":"https://api.github.com/repos/thewilkybarkid/security-advisories/releases{/id}","created_at":"2015-10-29T09:20:18Z","updated_at":"2015-10-29T09:20:18Z","pushed_at":"2015-11-30T14:52:04Z","git_url":"git://github.com/thewilkybarkid/security-advisories.git","ssh_url":"git@github.com:thewilkybarkid/security-advisories.git","clone_url":"https://github.com/thewilkybarkid/security-advisories.git","svn_url":"https://github.com/thewilkybarkid/security-advisories","homepage":"security.sensiolabs.org","size":168,"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":"FriendsOfPHP:master","ref":"master","sha":"f1ff98c2154fd33389d3f4e082f63d38d7352257","user":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":7798948,"name":"security-advisories","full_name":"FriendsOfPHP/security-advisories","owner":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfPHP/security-advisories","description":"A database of PHP security advisories","fork":false,"url":"https://api.github.com/repos/FriendsOfPHP/security-advisories","forks_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/forks","keys_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/teams","hooks_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/events","assignees_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/tags","blobs_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/languages","stargazers_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/subscription","commits_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/merges","archive_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/downloads","issues_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfPHP/security-advisories/releases{/id}","created_at":"2013-01-24T13:57:57Z","updated_at":"2015-11-30T05:52:17Z","pushed_at":"2015-11-30T12:36:54Z","git_url":"git://github.com/FriendsOfPHP/security-advisories.git","ssh_url":"git@github.com:FriendsOfPHP/security-advisories.git","clone_url":"https://github.com/FriendsOfPHP/security-advisories.git","svn_url":"https://github.com/FriendsOfPHP/security-advisories","homepage":"security.sensiolabs.org","size":312,"stargazers_count":431,"watchers_count":431,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":5,"forks":60,"open_issues":5,"watchers":431,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128"},"html":{"href":"https://github.com/FriendsOfPHP/security-advisories/pull/128"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/128"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/security-advisories/statuses/666001100d9af8a68a61591c85b0fb1f28f97fb8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":4,"changed_files":2}}