{"action":"created","comment":{"url":"https://api.github.com/repos/composer/composer/pulls/comments/69818153","id":69818153,"diff_hunk":"@@ -88,10 +86,11 @@ protected function initialize()\n             $this->addPackage($php64);\n         }\n \n-        // The AF_INET6 constant is only defined if ext-sockets is available but IPv6 support might still be available.\n-        if (defined('AF_INET6') || (function_exists('inet_pton') && Silencer::call('inet_pton', '::') !== false)) {\n-            $phpIpv6 = new CompletePackage('ext-network-ipv6', $version, $prettyVersion);\n-            $phpIpv6->setDescription('PHP IPv6 support');\n+        // The AF_INET6 constant is only defined if ext-sockets is available but\n+        // IPv6 support might still be available.\n+        if (defined('AF_INET6') || @inet_pton('::') !== false) {","path":"src/Composer/Repository/PlatformRepository.php","position":24,"original_position":24,"commit_id":"14224a1f029200edcee44401c28b882e30e19485","original_commit_id":"14224a1f029200edcee44401c28b882e30e19485","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"body":"Please kep the Silencer::call for inet_pton, that's the way we do @-calls :)","created_at":"2016-07-06T21:50:04Z","updated_at":"2016-07-06T21:50:04Z","html_url":"https://github.com/composer/composer/pull/5499#discussion_r69818153","pull_request_url":"https://api.github.com/repos/composer/composer/pulls/5499","_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/comments/69818153"},"html":{"href":"https://github.com/composer/composer/pull/5499#discussion_r69818153"},"pull_request":{"href":"https://api.github.com/repos/composer/composer/pulls/5499"}}},"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/5499","id":76466424,"html_url":"https://github.com/composer/composer/pull/5499","diff_url":"https://github.com/composer/composer/pull/5499.diff","patch_url":"https://github.com/composer/composer/pull/5499.patch","issue_url":"https://api.github.com/repos/composer/composer/issues/5499","number":5499,"state":"open","locked":false,"title":"IPv6 Platform Requirement","user":{"login":"Fleshgrinder","id":1059453,"avatar_url":"https://avatars.githubusercontent.com/u/1059453?v=3","gravatar_id":"","url":"https://api.github.com/users/Fleshgrinder","html_url":"https://github.com/Fleshgrinder","followers_url":"https://api.github.com/users/Fleshgrinder/followers","following_url":"https://api.github.com/users/Fleshgrinder/following{/other_user}","gists_url":"https://api.github.com/users/Fleshgrinder/gists{/gist_id}","starred_url":"https://api.github.com/users/Fleshgrinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fleshgrinder/subscriptions","organizations_url":"https://api.github.com/users/Fleshgrinder/orgs","repos_url":"https://api.github.com/users/Fleshgrinder/repos","events_url":"https://api.github.com/users/Fleshgrinder/events{/privacy}","received_events_url":"https://api.github.com/users/Fleshgrinder/received_events","type":"User","site_admin":false},"body":"Please see #5317 (this is the original proposal again) and #5304.","created_at":"2016-07-06T17:01:48Z","updated_at":"2016-07-06T21:50:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d2b4944c91ca5c5a2a4667503a68edb65a50ce4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/composer/composer/pulls/5499/commits","review_comments_url":"https://api.github.com/repos/composer/composer/pulls/5499/comments","review_comment_url":"https://api.github.com/repos/composer/composer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/composer/composer/issues/5499/comments","statuses_url":"https://api.github.com/repos/composer/composer/statuses/14224a1f029200edcee44401c28b882e30e19485","head":{"label":"Fleshgrinder:ipv6-platform-requirement","ref":"ipv6-platform-requirement","sha":"14224a1f029200edcee44401c28b882e30e19485","user":{"login":"Fleshgrinder","id":1059453,"avatar_url":"https://avatars.githubusercontent.com/u/1059453?v=3","gravatar_id":"","url":"https://api.github.com/users/Fleshgrinder","html_url":"https://github.com/Fleshgrinder","followers_url":"https://api.github.com/users/Fleshgrinder/followers","following_url":"https://api.github.com/users/Fleshgrinder/following{/other_user}","gists_url":"https://api.github.com/users/Fleshgrinder/gists{/gist_id}","starred_url":"https://api.github.com/users/Fleshgrinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fleshgrinder/subscriptions","organizations_url":"https://api.github.com/users/Fleshgrinder/orgs","repos_url":"https://api.github.com/users/Fleshgrinder/repos","events_url":"https://api.github.com/users/Fleshgrinder/events{/privacy}","received_events_url":"https://api.github.com/users/Fleshgrinder/received_events","type":"User","site_admin":false},"repo":{"id":58562957,"name":"composer","full_name":"Fleshgrinder/composer","owner":{"login":"Fleshgrinder","id":1059453,"avatar_url":"https://avatars.githubusercontent.com/u/1059453?v=3","gravatar_id":"","url":"https://api.github.com/users/Fleshgrinder","html_url":"https://github.com/Fleshgrinder","followers_url":"https://api.github.com/users/Fleshgrinder/followers","following_url":"https://api.github.com/users/Fleshgrinder/following{/other_user}","gists_url":"https://api.github.com/users/Fleshgrinder/gists{/gist_id}","starred_url":"https://api.github.com/users/Fleshgrinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fleshgrinder/subscriptions","organizations_url":"https://api.github.com/users/Fleshgrinder/orgs","repos_url":"https://api.github.com/users/Fleshgrinder/repos","events_url":"https://api.github.com/users/Fleshgrinder/events{/privacy}","received_events_url":"https://api.github.com/users/Fleshgrinder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fleshgrinder/composer","description":"Dependency Manager for PHP","fork":true,"url":"https://api.github.com/repos/Fleshgrinder/composer","forks_url":"https://api.github.com/repos/Fleshgrinder/composer/forks","keys_url":"https://api.github.com/repos/Fleshgrinder/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fleshgrinder/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fleshgrinder/composer/teams","hooks_url":"https://api.github.com/repos/Fleshgrinder/composer/hooks","issue_events_url":"https://api.github.com/repos/Fleshgrinder/composer/issues/events{/number}","events_url":"https://api.github.com/repos/Fleshgrinder/composer/events","assignees_url":"https://api.github.com/repos/Fleshgrinder/composer/assignees{/user}","branches_url":"https://api.github.com/repos/Fleshgrinder/composer/branches{/branch}","tags_url":"https://api.github.com/repos/Fleshgrinder/composer/tags","blobs_url":"https://api.github.com/repos/Fleshgrinder/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fleshgrinder/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fleshgrinder/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fleshgrinder/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fleshgrinder/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/Fleshgrinder/composer/languages","stargazers_url":"https://api.github.com/repos/Fleshgrinder/composer/stargazers","contributors_url":"https://api.github.com/repos/Fleshgrinder/composer/contributors","subscribers_url":"https://api.github.com/repos/Fleshgrinder/composer/subscribers","subscription_url":"https://api.github.com/repos/Fleshgrinder/composer/subscription","commits_url":"https://api.github.com/repos/Fleshgrinder/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fleshgrinder/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fleshgrinder/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fleshgrinder/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fleshgrinder/composer/contents/{+path}","compare_url":"https://api.github.com/repos/Fleshgrinder/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fleshgrinder/composer/merges","archive_url":"https://api.github.com/repos/Fleshgrinder/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fleshgrinder/composer/downloads","issues_url":"https://api.github.com/repos/Fleshgrinder/composer/issues{/number}","pulls_url":"https://api.github.com/repos/Fleshgrinder/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/Fleshgrinder/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/Fleshgrinder/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fleshgrinder/composer/labels{/name}","releases_url":"https://api.github.com/repos/Fleshgrinder/composer/releases{/id}","deployments_url":"https://api.github.com/repos/Fleshgrinder/composer/deployments","created_at":"2016-05-11T16:42:33Z","updated_at":"2016-05-11T16:42:40Z","pushed_at":"2016-07-06T20:05:23Z","git_url":"git://github.com/Fleshgrinder/composer.git","ssh_url":"git@github.com:Fleshgrinder/composer.git","clone_url":"https://github.com/Fleshgrinder/composer.git","svn_url":"https://github.com/Fleshgrinder/composer","homepage":"https://getcomposer.org/","size":12542,"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":"1.1"}},"base":{"label":"composer:master","ref":"master","sha":"b94e8ea21cb59d9ae141b0b63abf494ccfe8680f","user":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"repo":{"id":1864363,"name":"composer","full_name":"composer/composer","owner":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/composer/composer","description":"Dependency Manager for PHP","fork":false,"url":"https://api.github.com/repos/composer/composer","forks_url":"https://api.github.com/repos/composer/composer/forks","keys_url":"https://api.github.com/repos/composer/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/composer/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/composer/composer/teams","hooks_url":"https://api.github.com/repos/composer/composer/hooks","issue_events_url":"https://api.github.com/repos/composer/composer/issues/events{/number}","events_url":"https://api.github.com/repos/composer/composer/events","assignees_url":"https://api.github.com/repos/composer/composer/assignees{/user}","branches_url":"https://api.github.com/repos/composer/composer/branches{/branch}","tags_url":"https://api.github.com/repos/composer/composer/tags","blobs_url":"https://api.github.com/repos/composer/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/composer/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/composer/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/composer/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/composer/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/composer/composer/languages","stargazers_url":"https://api.github.com/repos/composer/composer/stargazers","contributors_url":"https://api.github.com/repos/composer/composer/contributors","subscribers_url":"https://api.github.com/repos/composer/composer/subscribers","subscription_url":"https://api.github.com/repos/composer/composer/subscription","commits_url":"https://api.github.com/repos/composer/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/composer/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/composer/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/composer/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/composer/composer/contents/{+path}","compare_url":"https://api.github.com/repos/composer/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/composer/composer/merges","archive_url":"https://api.github.com/repos/composer/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/composer/composer/downloads","issues_url":"https://api.github.com/repos/composer/composer/issues{/number}","pulls_url":"https://api.github.com/repos/composer/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/composer/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/composer/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/composer/composer/labels{/name}","releases_url":"https://api.github.com/repos/composer/composer/releases{/id}","deployments_url":"https://api.github.com/repos/composer/composer/deployments","created_at":"2011-06-08T08:53:00Z","updated_at":"2016-07-06T14:20:14Z","pushed_at":"2016-07-06T20:05:26Z","git_url":"git://github.com/composer/composer.git","ssh_url":"git@github.com:composer/composer.git","clone_url":"https://github.com/composer/composer.git","svn_url":"https://github.com/composer/composer","homepage":"https://getcomposer.org/","size":24249,"stargazers_count":7938,"watchers_count":7938,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2199,"mirror_url":null,"open_issues_count":153,"forks":2199,"open_issues":153,"watchers":7938,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/5499"},"html":{"href":"https://github.com/composer/composer/pull/5499"},"issue":{"href":"https://api.github.com/repos/composer/composer/issues/5499"},"comments":{"href":"https://api.github.com/repos/composer/composer/issues/5499/comments"},"review_comments":{"href":"https://api.github.com/repos/composer/composer/pulls/5499/comments"},"review_comment":{"href":"https://api.github.com/repos/composer/composer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/composer/composer/pulls/5499/commits"},"statuses":{"href":"https://api.github.com/repos/composer/composer/statuses/14224a1f029200edcee44401c28b882e30e19485"}}}}
{"actor":{"display_login":"Seldaek"}}