{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/icepay/icepay/pulls/3","id":46630002,"html_url":"https://github.com/icepay/icepay/pull/3","diff_url":"https://github.com/icepay/icepay/pull/3.diff","patch_url":"https://github.com/icepay/icepay/pull/3.patch","issue_url":"https://api.github.com/repos/icepay/icepay/issues/3","number":3,"state":"open","locked":false,"title":"Use 0.0.0.0 ('not applicable' meta IP address) when $_SERVER is missing","user":{"login":"Sfynx","id":1623909,"avatar_url":"https://avatars.githubusercontent.com/u/1623909?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfynx","html_url":"https://github.com/Sfynx","followers_url":"https://api.github.com/users/Sfynx/followers","following_url":"https://api.github.com/users/Sfynx/following{/other_user}","gists_url":"https://api.github.com/users/Sfynx/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfynx/subscriptions","organizations_url":"https://api.github.com/users/Sfynx/orgs","repos_url":"https://api.github.com/users/Sfynx/repos","events_url":"https://api.github.com/users/Sfynx/events{/privacy}","received_events_url":"https://api.github.com/users/Sfynx/received_events","type":"User","site_admin":false},"body":"When processing recurring payments from a cron job I noticed that $_SERVER['REMOTE_ADDR'] was still used. Because this superglobal is not available during PHP CLI sessions I made sure 0.0.0.0 is sent instead to prevent an empty IP address being sent to the web service.","created_at":"2015-10-02T12:28:21Z","updated_at":"2015-10-02T12:28:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/icepay/icepay/pulls/3/commits","review_comments_url":"https://api.github.com/repos/icepay/icepay/pulls/3/comments","review_comment_url":"https://api.github.com/repos/icepay/icepay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icepay/icepay/issues/3/comments","statuses_url":"https://api.github.com/repos/icepay/icepay/statuses/42b8d1c119e74b7c0fc00daebf1bc99776e16ff1","head":{"label":"Sfynx:develop","ref":"develop","sha":"42b8d1c119e74b7c0fc00daebf1bc99776e16ff1","user":{"login":"Sfynx","id":1623909,"avatar_url":"https://avatars.githubusercontent.com/u/1623909?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfynx","html_url":"https://github.com/Sfynx","followers_url":"https://api.github.com/users/Sfynx/followers","following_url":"https://api.github.com/users/Sfynx/following{/other_user}","gists_url":"https://api.github.com/users/Sfynx/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfynx/subscriptions","organizations_url":"https://api.github.com/users/Sfynx/orgs","repos_url":"https://api.github.com/users/Sfynx/repos","events_url":"https://api.github.com/users/Sfynx/events{/privacy}","received_events_url":"https://api.github.com/users/Sfynx/received_events","type":"User","site_admin":false},"repo":{"id":43550483,"name":"icepay","full_name":"Sfynx/icepay","owner":{"login":"Sfynx","id":1623909,"avatar_url":"https://avatars.githubusercontent.com/u/1623909?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfynx","html_url":"https://github.com/Sfynx","followers_url":"https://api.github.com/users/Sfynx/followers","following_url":"https://api.github.com/users/Sfynx/following{/other_user}","gists_url":"https://api.github.com/users/Sfynx/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfynx/subscriptions","organizations_url":"https://api.github.com/users/Sfynx/orgs","repos_url":"https://api.github.com/users/Sfynx/repos","events_url":"https://api.github.com/users/Sfynx/events{/privacy}","received_events_url":"https://api.github.com/users/Sfynx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sfynx/icepay","description":"ICEPAY library to integrate ICEPAY in your projects.","fork":true,"url":"https://api.github.com/repos/Sfynx/icepay","forks_url":"https://api.github.com/repos/Sfynx/icepay/forks","keys_url":"https://api.github.com/repos/Sfynx/icepay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sfynx/icepay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sfynx/icepay/teams","hooks_url":"https://api.github.com/repos/Sfynx/icepay/hooks","issue_events_url":"https://api.github.com/repos/Sfynx/icepay/issues/events{/number}","events_url":"https://api.github.com/repos/Sfynx/icepay/events","assignees_url":"https://api.github.com/repos/Sfynx/icepay/assignees{/user}","branches_url":"https://api.github.com/repos/Sfynx/icepay/branches{/branch}","tags_url":"https://api.github.com/repos/Sfynx/icepay/tags","blobs_url":"https://api.github.com/repos/Sfynx/icepay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sfynx/icepay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sfynx/icepay/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sfynx/icepay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sfynx/icepay/statuses/{sha}","languages_url":"https://api.github.com/repos/Sfynx/icepay/languages","stargazers_url":"https://api.github.com/repos/Sfynx/icepay/stargazers","contributors_url":"https://api.github.com/repos/Sfynx/icepay/contributors","subscribers_url":"https://api.github.com/repos/Sfynx/icepay/subscribers","subscription_url":"https://api.github.com/repos/Sfynx/icepay/subscription","commits_url":"https://api.github.com/repos/Sfynx/icepay/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sfynx/icepay/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sfynx/icepay/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sfynx/icepay/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sfynx/icepay/contents/{+path}","compare_url":"https://api.github.com/repos/Sfynx/icepay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sfynx/icepay/merges","archive_url":"https://api.github.com/repos/Sfynx/icepay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sfynx/icepay/downloads","issues_url":"https://api.github.com/repos/Sfynx/icepay/issues{/number}","pulls_url":"https://api.github.com/repos/Sfynx/icepay/pulls{/number}","milestones_url":"https://api.github.com/repos/Sfynx/icepay/milestones{/number}","notifications_url":"https://api.github.com/repos/Sfynx/icepay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sfynx/icepay/labels{/name}","releases_url":"https://api.github.com/repos/Sfynx/icepay/releases{/id}","created_at":"2015-10-02T12:01:25Z","updated_at":"2015-10-02T12:01:26Z","pushed_at":"2015-10-02T12:23:06Z","git_url":"git://github.com/Sfynx/icepay.git","ssh_url":"git@github.com:Sfynx/icepay.git","clone_url":"https://github.com/Sfynx/icepay.git","svn_url":"https://github.com/Sfynx/icepay","homepage":"https://icepay.com/","size":419,"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":"develop"}},"base":{"label":"icepay:develop","ref":"develop","sha":"d208d220ae3d6b1b122f1378192a5d88211d5bb4","user":{"login":"icepay","id":11027794,"avatar_url":"https://avatars.githubusercontent.com/u/11027794?v=3","gravatar_id":"","url":"https://api.github.com/users/icepay","html_url":"https://github.com/icepay","followers_url":"https://api.github.com/users/icepay/followers","following_url":"https://api.github.com/users/icepay/following{/other_user}","gists_url":"https://api.github.com/users/icepay/gists{/gist_id}","starred_url":"https://api.github.com/users/icepay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icepay/subscriptions","organizations_url":"https://api.github.com/users/icepay/orgs","repos_url":"https://api.github.com/users/icepay/repos","events_url":"https://api.github.com/users/icepay/events{/privacy}","received_events_url":"https://api.github.com/users/icepay/received_events","type":"Organization","site_admin":false},"repo":{"id":30863666,"name":"icepay","full_name":"icepay/icepay","owner":{"login":"icepay","id":11027794,"avatar_url":"https://avatars.githubusercontent.com/u/11027794?v=3","gravatar_id":"","url":"https://api.github.com/users/icepay","html_url":"https://github.com/icepay","followers_url":"https://api.github.com/users/icepay/followers","following_url":"https://api.github.com/users/icepay/following{/other_user}","gists_url":"https://api.github.com/users/icepay/gists{/gist_id}","starred_url":"https://api.github.com/users/icepay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icepay/subscriptions","organizations_url":"https://api.github.com/users/icepay/orgs","repos_url":"https://api.github.com/users/icepay/repos","events_url":"https://api.github.com/users/icepay/events{/privacy}","received_events_url":"https://api.github.com/users/icepay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icepay/icepay","description":"ICEPAY library to integrate ICEPAY in your projects.","fork":false,"url":"https://api.github.com/repos/icepay/icepay","forks_url":"https://api.github.com/repos/icepay/icepay/forks","keys_url":"https://api.github.com/repos/icepay/icepay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icepay/icepay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icepay/icepay/teams","hooks_url":"https://api.github.com/repos/icepay/icepay/hooks","issue_events_url":"https://api.github.com/repos/icepay/icepay/issues/events{/number}","events_url":"https://api.github.com/repos/icepay/icepay/events","assignees_url":"https://api.github.com/repos/icepay/icepay/assignees{/user}","branches_url":"https://api.github.com/repos/icepay/icepay/branches{/branch}","tags_url":"https://api.github.com/repos/icepay/icepay/tags","blobs_url":"https://api.github.com/repos/icepay/icepay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icepay/icepay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icepay/icepay/git/refs{/sha}","trees_url":"https://api.github.com/repos/icepay/icepay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icepay/icepay/statuses/{sha}","languages_url":"https://api.github.com/repos/icepay/icepay/languages","stargazers_url":"https://api.github.com/repos/icepay/icepay/stargazers","contributors_url":"https://api.github.com/repos/icepay/icepay/contributors","subscribers_url":"https://api.github.com/repos/icepay/icepay/subscribers","subscription_url":"https://api.github.com/repos/icepay/icepay/subscription","commits_url":"https://api.github.com/repos/icepay/icepay/commits{/sha}","git_commits_url":"https://api.github.com/repos/icepay/icepay/git/commits{/sha}","comments_url":"https://api.github.com/repos/icepay/icepay/comments{/number}","issue_comment_url":"https://api.github.com/repos/icepay/icepay/issues/comments{/number}","contents_url":"https://api.github.com/repos/icepay/icepay/contents/{+path}","compare_url":"https://api.github.com/repos/icepay/icepay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icepay/icepay/merges","archive_url":"https://api.github.com/repos/icepay/icepay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icepay/icepay/downloads","issues_url":"https://api.github.com/repos/icepay/icepay/issues{/number}","pulls_url":"https://api.github.com/repos/icepay/icepay/pulls{/number}","milestones_url":"https://api.github.com/repos/icepay/icepay/milestones{/number}","notifications_url":"https://api.github.com/repos/icepay/icepay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icepay/icepay/labels{/name}","releases_url":"https://api.github.com/repos/icepay/icepay/releases{/id}","created_at":"2015-02-16T10:36:18Z","updated_at":"2015-08-27T11:51:02Z","pushed_at":"2015-09-22T13:54:42Z","git_url":"git://github.com/icepay/icepay.git","ssh_url":"git@github.com:icepay/icepay.git","clone_url":"https://github.com/icepay/icepay.git","svn_url":"https://github.com/icepay/icepay","homepage":"https://icepay.com/","size":419,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/icepay/icepay/pulls/3"},"html":{"href":"https://github.com/icepay/icepay/pull/3"},"issue":{"href":"https://api.github.com/repos/icepay/icepay/issues/3"},"comments":{"href":"https://api.github.com/repos/icepay/icepay/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/icepay/icepay/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/icepay/icepay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icepay/icepay/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/icepay/icepay/statuses/42b8d1c119e74b7c0fc00daebf1bc99776e16ff1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}