{"action":"created","comment":{"url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/comments/23219281","id":23219281,"diff_hunk":"@@ -115,6 +115,19 @@ public function testSetSoundThrowsExceptionOnNonString()\n         $this->message->setSound(12345);\n     }\n \n+    public function testSetContentAvailableThrowsExceptionOnNonInteger()\n+    {\n+        $this->setExpectedException('InvalidArgumentException');\n+        $this->message->setContentAvailable(\"string\");\n+    }\n+\n+    public function testGetContentAvailableReturnsCorrectInteger()\n+    {\n+        $value = 1;","path":"tests/ZendService/Apple/Apns/MessageTest.php","position":12,"original_position":12,"commit_id":"ba7cc1ab76a2561c60a8709e19d45ef4e7583039","original_commit_id":"ba7cc1ab76a2561c60a8709e19d45ef4e7583039","user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"body":"No, just about the apple push notifications allowed values for `content-available`","created_at":"2015-01-20T12:43:34Z","updated_at":"2015-01-20T12:43:34Z","html_url":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23#discussion_r23219281","pull_request_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/comments/23219281"},"html":{"href":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23#discussion_r23219281"},"pull_request":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23","id":27674234,"html_url":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23","diff_url":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23.diff","patch_url":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23.patch","issue_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/23","number":23,"state":"open","locked":false,"title":"Added 'content-available' to the aps dictionary","user":{"login":"Illizian","id":703800,"avatar_url":"https://avatars.githubusercontent.com/u/703800?v=3","gravatar_id":"","url":"https://api.github.com/users/Illizian","html_url":"https://github.com/Illizian","followers_url":"https://api.github.com/users/Illizian/followers","following_url":"https://api.github.com/users/Illizian/following{/other_user}","gists_url":"https://api.github.com/users/Illizian/gists{/gist_id}","starred_url":"https://api.github.com/users/Illizian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Illizian/subscriptions","organizations_url":"https://api.github.com/users/Illizian/orgs","repos_url":"https://api.github.com/users/Illizian/repos","events_url":"https://api.github.com/users/Illizian/events{/privacy}","received_events_url":"https://api.github.com/users/Illizian/received_events","type":"User","site_admin":false},"body":"I hope this meets with your approval.\r\n\r\nI'm pretty sure I've followed PSR-2 and I have created basic test cases.\r\n\r\nThanks","created_at":"2015-01-20T12:34:54Z","updated_at":"2015-01-20T12:43:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2ce6906015231b5b26a8508e1b92453c8ec73b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23/commits","review_comments_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23/comments","review_comment_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/23/comments","statuses_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/statuses/ba7cc1ab76a2561c60a8709e19d45ef4e7583039","head":{"label":"Illizian:master","ref":"master","sha":"ba7cc1ab76a2561c60a8709e19d45ef4e7583039","user":{"login":"Illizian","id":703800,"avatar_url":"https://avatars.githubusercontent.com/u/703800?v=3","gravatar_id":"","url":"https://api.github.com/users/Illizian","html_url":"https://github.com/Illizian","followers_url":"https://api.github.com/users/Illizian/followers","following_url":"https://api.github.com/users/Illizian/following{/other_user}","gists_url":"https://api.github.com/users/Illizian/gists{/gist_id}","starred_url":"https://api.github.com/users/Illizian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Illizian/subscriptions","organizations_url":"https://api.github.com/users/Illizian/orgs","repos_url":"https://api.github.com/users/Illizian/repos","events_url":"https://api.github.com/users/Illizian/events{/privacy}","received_events_url":"https://api.github.com/users/Illizian/received_events","type":"User","site_admin":false},"repo":{"id":29525390,"name":"ZendService_Apple_Apns","full_name":"Illizian/ZendService_Apple_Apns","owner":{"login":"Illizian","id":703800,"avatar_url":"https://avatars.githubusercontent.com/u/703800?v=3","gravatar_id":"","url":"https://api.github.com/users/Illizian","html_url":"https://github.com/Illizian","followers_url":"https://api.github.com/users/Illizian/followers","following_url":"https://api.github.com/users/Illizian/following{/other_user}","gists_url":"https://api.github.com/users/Illizian/gists{/gist_id}","starred_url":"https://api.github.com/users/Illizian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Illizian/subscriptions","organizations_url":"https://api.github.com/users/Illizian/orgs","repos_url":"https://api.github.com/users/Illizian/repos","events_url":"https://api.github.com/users/Illizian/events{/privacy}","received_events_url":"https://api.github.com/users/Illizian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Illizian/ZendService_Apple_Apns","description":"","fork":true,"url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns","forks_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/forks","keys_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/teams","hooks_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/hooks","issue_events_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/issues/events{/number}","events_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/events","assignees_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/assignees{/user}","branches_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/branches{/branch}","tags_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/tags","blobs_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/git/refs{/sha}","trees_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/statuses/{sha}","languages_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/languages","stargazers_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/stargazers","contributors_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/contributors","subscribers_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/subscribers","subscription_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/subscription","commits_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/commits{/sha}","git_commits_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/git/commits{/sha}","comments_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/comments{/number}","issue_comment_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/issues/comments/{number}","contents_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/contents/{+path}","compare_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/merges","archive_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/downloads","issues_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/issues{/number}","pulls_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/pulls{/number}","milestones_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/milestones{/number}","notifications_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/labels{/name}","releases_url":"https://api.github.com/repos/Illizian/ZendService_Apple_Apns/releases{/id}","created_at":"2015-01-20T10:56:02Z","updated_at":"2015-01-20T12:33:24Z","pushed_at":"2015-01-20T12:33:24Z","git_url":"git://github.com/Illizian/ZendService_Apple_Apns.git","ssh_url":"git@github.com:Illizian/ZendService_Apple_Apns.git","clone_url":"https://github.com/Illizian/ZendService_Apple_Apns.git","svn_url":"https://github.com/Illizian/ZendService_Apple_Apns","homepage":null,"size":345,"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":"zendframework:master","ref":"master","sha":"fc14885492ff26c8142bb57fcf14dca485cfb619","user":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"repo":{"id":7566731,"name":"ZendService_Apple_Apns","full_name":"zendframework/ZendService_Apple_Apns","owner":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendframework/ZendService_Apple_Apns","description":"","fork":false,"url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns","forks_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/forks","keys_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/teams","hooks_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/hooks","issue_events_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/events{/number}","events_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/events","assignees_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/assignees{/user}","branches_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/branches{/branch}","tags_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/tags","blobs_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/statuses/{sha}","languages_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/languages","stargazers_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/stargazers","contributors_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/contributors","subscribers_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/subscribers","subscription_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/subscription","commits_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/comments/{number}","contents_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/contents/{+path}","compare_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/merges","archive_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/downloads","issues_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues{/number}","pulls_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls{/number}","milestones_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/milestones{/number}","notifications_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/labels{/name}","releases_url":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/releases{/id}","created_at":"2013-01-11T20:44:36Z","updated_at":"2014-11-27T16:16:54Z","pushed_at":"2014-08-08T01:27:08Z","git_url":"git://github.com/zendframework/ZendService_Apple_Apns.git","ssh_url":"git@github.com:zendframework/ZendService_Apple_Apns.git","clone_url":"https://github.com/zendframework/ZendService_Apple_Apns.git","svn_url":"https://github.com/zendframework/ZendService_Apple_Apns","homepage":null,"size":345,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":6,"forks":24,"open_issues":6,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23"},"html":{"href":"https://github.com/zendframework/ZendService_Apple_Apns/pull/23"},"issue":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/23"},"comments":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/zendframework/ZendService_Apple_Apns/statuses/ba7cc1ab76a2561c60a8709e19d45ef4e7583039"}}}}