{"action":"closed","number":320,"pull_request":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320","id":29761516,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/320","diff_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/320.diff","patch_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/320.patch","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/320","number":320,"state":"closed","locked":false,"title":"XSS sniff: allow for negative numbers","user":{"login":"JDGrimes","id":4005415,"avatar_url":"https://avatars.githubusercontent.com/u/4005415?v=3","gravatar_id":"","url":"https://api.github.com/users/JDGrimes","html_url":"https://github.com/JDGrimes","followers_url":"https://api.github.com/users/JDGrimes/followers","following_url":"https://api.github.com/users/JDGrimes/following{/other_user}","gists_url":"https://api.github.com/users/JDGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/JDGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDGrimes/subscriptions","organizations_url":"https://api.github.com/users/JDGrimes/orgs","repos_url":"https://api.github.com/users/JDGrimes/repos","events_url":"https://api.github.com/users/JDGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/JDGrimes/received_events","type":"User","site_admin":false},"body":"I have quite a few instances of `wp_die( -1 );` in some of my code.\nThis is used a lot in WordPress too.","created_at":"2015-02-21T22:38:22Z","updated_at":"2015-02-22T05:52:22Z","closed_at":"2015-02-22T05:52:22Z","merged_at":"2015-02-22T05:52:22Z","merge_commit_sha":"ddd0c608b755370146264bd84ea123913b2f765e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320/commits","review_comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320/comments","review_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments/{number}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/320/comments","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/e5c1c1ecd25d2f154b9a82f00187e4231c301d9b","head":{"label":"JDGrimes:feature/xss-negative-int","ref":"feature/xss-negative-int","sha":"e5c1c1ecd25d2f154b9a82f00187e4231c301d9b","user":{"login":"JDGrimes","id":4005415,"avatar_url":"https://avatars.githubusercontent.com/u/4005415?v=3","gravatar_id":"","url":"https://api.github.com/users/JDGrimes","html_url":"https://github.com/JDGrimes","followers_url":"https://api.github.com/users/JDGrimes/followers","following_url":"https://api.github.com/users/JDGrimes/following{/other_user}","gists_url":"https://api.github.com/users/JDGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/JDGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDGrimes/subscriptions","organizations_url":"https://api.github.com/users/JDGrimes/orgs","repos_url":"https://api.github.com/users/JDGrimes/repos","events_url":"https://api.github.com/users/JDGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/JDGrimes/received_events","type":"User","site_admin":false},"repo":{"id":15013452,"name":"WordPress-Coding-Standards","full_name":"JDGrimes/WordPress-Coding-Standards","owner":{"login":"JDGrimes","id":4005415,"avatar_url":"https://avatars.githubusercontent.com/u/4005415?v=3","gravatar_id":"","url":"https://api.github.com/users/JDGrimes","html_url":"https://github.com/JDGrimes","followers_url":"https://api.github.com/users/JDGrimes/followers","following_url":"https://api.github.com/users/JDGrimes/following{/other_user}","gists_url":"https://api.github.com/users/JDGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/JDGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDGrimes/subscriptions","organizations_url":"https://api.github.com/users/JDGrimes/orgs","repos_url":"https://api.github.com/users/JDGrimes/repos","events_url":"https://api.github.com/users/JDGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/JDGrimes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JDGrimes/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":true,"url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/JDGrimes/WordPress-Coding-Standards/releases{/id}","created_at":"2013-12-07T21:47:08Z","updated_at":"2014-06-25T21:35:26Z","pushed_at":"2015-02-21T22:38:21Z","git_url":"git://github.com/JDGrimes/WordPress-Coding-Standards.git","ssh_url":"git@github.com:JDGrimes/WordPress-Coding-Standards.git","clone_url":"https://github.com/JDGrimes/WordPress-Coding-Standards.git","svn_url":"https://github.com/JDGrimes/WordPress-Coding-Standards","homepage":"","size":747,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"WordPress-Coding-Standards:develop","ref":"develop","sha":"c89260745036f1b842a86759efae79b00da2dc82","user":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars.githubusercontent.com/u/3841697?v=3","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"repo":{"id":1691187,"name":"WordPress-Coding-Standards","full_name":"WordPress-Coding-Standards/WordPress-Coding-Standards","owner":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars.githubusercontent.com/u/3841697?v=3","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":false,"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/releases{/id}","created_at":"2011-05-02T12:49:18Z","updated_at":"2015-02-20T21:49:29Z","pushed_at":"2015-02-22T05:52:22Z","git_url":"git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","ssh_url":"git@github.com:WordPress-Coding-Standards/WordPress-Coding-Standards.git","clone_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","svn_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","homepage":"","size":2224,"stargazers_count":323,"watchers_count":323,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":71,"forks":82,"open_issues":71,"watchers":323,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320"},"html":{"href":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/320"},"issue":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/320"},"comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/320/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/320/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/e5c1c1ecd25d2f154b9a82f00187e4231c301d9b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"westonruter","id":134745,"avatar_url":"https://avatars.githubusercontent.com/u/134745?v=3","gravatar_id":"","url":"https://api.github.com/users/westonruter","html_url":"https://github.com/westonruter","followers_url":"https://api.github.com/users/westonruter/followers","following_url":"https://api.github.com/users/westonruter/following{/other_user}","gists_url":"https://api.github.com/users/westonruter/gists{/gist_id}","starred_url":"https://api.github.com/users/westonruter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westonruter/subscriptions","organizations_url":"https://api.github.com/users/westonruter/orgs","repos_url":"https://api.github.com/users/westonruter/repos","events_url":"https://api.github.com/users/westonruter/events{/privacy}","received_events_url":"https://api.github.com/users/westonruter/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":2}}