{"action":"closed","number":409,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409","id":85451369,"html_url":"https://github.com/mongodb/mongo-php-driver/pull/409","diff_url":"https://github.com/mongodb/mongo-php-driver/pull/409.diff","patch_url":"https://github.com/mongodb/mongo-php-driver/pull/409.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/409","number":409,"state":"closed","locked":false,"title":"Use string literal php_array macros where possible","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"body":"This updates a few cases where we were already passing string literals to the php_array macros. The \"c\" variant expands to `lit, sizeof(lit) - 1` instead of `lit, strlen(lit)`.","created_at":"2016-09-15T18:03:42Z","updated_at":"2016-09-16T14:05:46Z","closed_at":"2016-09-16T14:05:46Z","merged_at":"2016-09-16T14:05:46Z","merge_commit_sha":"b6296f711549e40013d884bf51e601bd1c5bd516","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/409/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/b6296f711549e40013d884bf51e601bd1c5bd516","head":{"label":"jmikola:php_array","ref":"php_array","sha":"b6296f711549e40013d884bf51e601bd1c5bd516","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"repo":{"id":32424485,"name":"mongo-php-driver","full_name":"jmikola/mongo-php-driver","owner":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmikola/mongo-php-driver","description":"MongoDB PHP driver","fork":true,"url":"https://api.github.com/repos/jmikola/mongo-php-driver","forks_url":"https://api.github.com/repos/jmikola/mongo-php-driver/forks","keys_url":"https://api.github.com/repos/jmikola/mongo-php-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmikola/mongo-php-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmikola/mongo-php-driver/teams","hooks_url":"https://api.github.com/repos/jmikola/mongo-php-driver/hooks","issue_events_url":"https://api.github.com/repos/jmikola/mongo-php-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jmikola/mongo-php-driver/events","assignees_url":"https://api.github.com/repos/jmikola/mongo-php-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jmikola/mongo-php-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jmikola/mongo-php-driver/tags","blobs_url":"https://api.github.com/repos/jmikola/mongo-php-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmikola/mongo-php-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmikola/mongo-php-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmikola/mongo-php-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmikola/mongo-php-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jmikola/mongo-php-driver/languages","stargazers_url":"https://api.github.com/repos/jmikola/mongo-php-driver/stargazers","contributors_url":"https://api.github.com/repos/jmikola/mongo-php-driver/contributors","subscribers_url":"https://api.github.com/repos/jmikola/mongo-php-driver/subscribers","subscription_url":"https://api.github.com/repos/jmikola/mongo-php-driver/subscription","commits_url":"https://api.github.com/repos/jmikola/mongo-php-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmikola/mongo-php-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmikola/mongo-php-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmikola/mongo-php-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmikola/mongo-php-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jmikola/mongo-php-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmikola/mongo-php-driver/merges","archive_url":"https://api.github.com/repos/jmikola/mongo-php-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmikola/mongo-php-driver/downloads","issues_url":"https://api.github.com/repos/jmikola/mongo-php-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jmikola/mongo-php-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jmikola/mongo-php-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jmikola/mongo-php-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmikola/mongo-php-driver/labels{/name}","releases_url":"https://api.github.com/repos/jmikola/mongo-php-driver/releases{/id}","deployments_url":"https://api.github.com/repos/jmikola/mongo-php-driver/deployments","created_at":"2015-03-17T22:38:23Z","updated_at":"2016-07-14T17:30:42Z","pushed_at":"2016-09-16T14:04:24Z","git_url":"git://github.com/jmikola/mongo-php-driver.git","ssh_url":"git@github.com:jmikola/mongo-php-driver.git","clone_url":"https://github.com/jmikola/mongo-php-driver.git","svn_url":"https://github.com/jmikola/mongo-php-driver","homepage":"https://pecl.php.net/package/mongodb","size":3923,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"db32cab1f3a5e73b4ea6433e39586fac57923188","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":19514152,"name":"mongo-php-driver","full_name":"mongodb/mongo-php-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-php-driver","description":"MongoDB PHP driver","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-php-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-php-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-php-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-php-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-php-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-php-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-php-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-php-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-php-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-php-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-php-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-php-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-php-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-php-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-php-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-php-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-php-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-php-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-php-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-php-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-php-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-php-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-php-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-php-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-php-driver/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/deployments","created_at":"2014-05-06T23:18:32Z","updated_at":"2016-09-13T07:19:34Z","pushed_at":"2016-09-16T14:05:45Z","git_url":"git://github.com/mongodb/mongo-php-driver.git","ssh_url":"git@github.com:mongodb/mongo-php-driver.git","clone_url":"https://github.com/mongodb/mongo-php-driver.git","svn_url":"https://github.com/mongodb/mongo-php-driver","homepage":"https://pecl.php.net/package/mongodb","size":4797,"stargazers_count":262,"watchers_count":262,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":16,"forks":82,"open_issues":16,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409"},"html":{"href":"https://github.com/mongodb/mongo-php-driver/pull/409"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/409"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/409/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/pulls/409/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-php-driver/statuses/b6296f711549e40013d884bf51e601bd1c5bd516"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"jmikola"}}