{"action":"created","comment":{"url":"https://api.github.com/repos/equip/assist/pulls/comments/89121490","pull_request_review_id":9670065,"id":89121490,"diff_hunk":"@@ -0,0 +1,20 @@\n+<?php\n+\n+namespace Equip\\String;\n+\n+/**\n+ * Convert a snake_case string to a camelCase one.\n+ *\n+ * @param string $snake_string The original snake_case string.\n+ * @param bool $first Whether the first letter should be capitalized\n+ *\n+ * @return string The converted string.\n+ */\n+function snakeToCamelCase($snake_string, $first = false)\n+{\n+    $camel = implode('', array_map(function($piece) {","path":"src/string.php","position":15,"original_position":15,"commit_id":"c11dd1442d863893a57e880c6643590933d60220","original_commit_id":"c11dd1442d863893a57e880c6643590933d60220","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"body":"This can be a `static function` as a micro optimization.","created_at":"2016-11-22T14:07:32Z","updated_at":"2016-11-22T14:07:55Z","html_url":"https://github.com/equip/assist/pull/23#discussion_r89121490","pull_request_url":"https://api.github.com/repos/equip/assist/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/equip/assist/pulls/comments/89121490"},"html":{"href":"https://github.com/equip/assist/pull/23#discussion_r89121490"},"pull_request":{"href":"https://api.github.com/repos/equip/assist/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/equip/assist/pulls/23","id":94751804,"html_url":"https://github.com/equip/assist/pull/23","diff_url":"https://github.com/equip/assist/pull/23.diff","patch_url":"https://github.com/equip/assist/pull/23.patch","issue_url":"https://api.github.com/repos/equip/assist/issues/23","number":23,"state":"open","locked":false,"title":"Add function for converting strings in snake_case to CamelCase","user":{"login":"sctape","id":510704,"avatar_url":"https://avatars.githubusercontent.com/u/510704?v=3","gravatar_id":"","url":"https://api.github.com/users/sctape","html_url":"https://github.com/sctape","followers_url":"https://api.github.com/users/sctape/followers","following_url":"https://api.github.com/users/sctape/following{/other_user}","gists_url":"https://api.github.com/users/sctape/gists{/gist_id}","starred_url":"https://api.github.com/users/sctape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sctape/subscriptions","organizations_url":"https://api.github.com/users/sctape/orgs","repos_url":"https://api.github.com/users/sctape/repos","events_url":"https://api.github.com/users/sctape/events{/privacy}","received_events_url":"https://api.github.com/users/sctape/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-22T05:41:19Z","updated_at":"2016-11-22T14:07:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66c88d2aa9deec2b9abbf3e7edbbbdd828bf540a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/equip/assist/pulls/23/commits","review_comments_url":"https://api.github.com/repos/equip/assist/pulls/23/comments","review_comment_url":"https://api.github.com/repos/equip/assist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/equip/assist/issues/23/comments","statuses_url":"https://api.github.com/repos/equip/assist/statuses/c11dd1442d863893a57e880c6643590933d60220","head":{"label":"equip:feature/camel-case-converter","ref":"feature/camel-case-converter","sha":"c11dd1442d863893a57e880c6643590933d60220","user":{"login":"equip","id":16503086,"avatar_url":"https://avatars.githubusercontent.com/u/16503086?v=3","gravatar_id":"","url":"https://api.github.com/users/equip","html_url":"https://github.com/equip","followers_url":"https://api.github.com/users/equip/followers","following_url":"https://api.github.com/users/equip/following{/other_user}","gists_url":"https://api.github.com/users/equip/gists{/gist_id}","starred_url":"https://api.github.com/users/equip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equip/subscriptions","organizations_url":"https://api.github.com/users/equip/orgs","repos_url":"https://api.github.com/users/equip/repos","events_url":"https://api.github.com/users/equip/events{/privacy}","received_events_url":"https://api.github.com/users/equip/received_events","type":"Organization","site_admin":false},"repo":{"id":53988540,"name":"assist","full_name":"equip/assist","owner":{"login":"equip","id":16503086,"avatar_url":"https://avatars.githubusercontent.com/u/16503086?v=3","gravatar_id":"","url":"https://api.github.com/users/equip","html_url":"https://github.com/equip","followers_url":"https://api.github.com/users/equip/followers","following_url":"https://api.github.com/users/equip/following{/other_user}","gists_url":"https://api.github.com/users/equip/gists{/gist_id}","starred_url":"https://api.github.com/users/equip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equip/subscriptions","organizations_url":"https://api.github.com/users/equip/orgs","repos_url":"https://api.github.com/users/equip/repos","events_url":"https://api.github.com/users/equip/events{/privacy}","received_events_url":"https://api.github.com/users/equip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/equip/assist","description":"Everyone needs a little assistance!","fork":false,"url":"https://api.github.com/repos/equip/assist","forks_url":"https://api.github.com/repos/equip/assist/forks","keys_url":"https://api.github.com/repos/equip/assist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equip/assist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equip/assist/teams","hooks_url":"https://api.github.com/repos/equip/assist/hooks","issue_events_url":"https://api.github.com/repos/equip/assist/issues/events{/number}","events_url":"https://api.github.com/repos/equip/assist/events","assignees_url":"https://api.github.com/repos/equip/assist/assignees{/user}","branches_url":"https://api.github.com/repos/equip/assist/branches{/branch}","tags_url":"https://api.github.com/repos/equip/assist/tags","blobs_url":"https://api.github.com/repos/equip/assist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equip/assist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equip/assist/git/refs{/sha}","trees_url":"https://api.github.com/repos/equip/assist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equip/assist/statuses/{sha}","languages_url":"https://api.github.com/repos/equip/assist/languages","stargazers_url":"https://api.github.com/repos/equip/assist/stargazers","contributors_url":"https://api.github.com/repos/equip/assist/contributors","subscribers_url":"https://api.github.com/repos/equip/assist/subscribers","subscription_url":"https://api.github.com/repos/equip/assist/subscription","commits_url":"https://api.github.com/repos/equip/assist/commits{/sha}","git_commits_url":"https://api.github.com/repos/equip/assist/git/commits{/sha}","comments_url":"https://api.github.com/repos/equip/assist/comments{/number}","issue_comment_url":"https://api.github.com/repos/equip/assist/issues/comments{/number}","contents_url":"https://api.github.com/repos/equip/assist/contents/{+path}","compare_url":"https://api.github.com/repos/equip/assist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equip/assist/merges","archive_url":"https://api.github.com/repos/equip/assist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equip/assist/downloads","issues_url":"https://api.github.com/repos/equip/assist/issues{/number}","pulls_url":"https://api.github.com/repos/equip/assist/pulls{/number}","milestones_url":"https://api.github.com/repos/equip/assist/milestones{/number}","notifications_url":"https://api.github.com/repos/equip/assist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equip/assist/labels{/name}","releases_url":"https://api.github.com/repos/equip/assist/releases{/id}","deployments_url":"https://api.github.com/repos/equip/assist/deployments","created_at":"2016-03-16T00:34:27Z","updated_at":"2016-07-08T11:29:00Z","pushed_at":"2016-11-22T05:41:19Z","git_url":"git://github.com/equip/assist.git","ssh_url":"git@github.com:equip/assist.git","clone_url":"https://github.com/equip/assist.git","svn_url":"https://github.com/equip/assist","homepage":"","size":44,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"equip:master","ref":"master","sha":"3557f42006a850e25cd48e36146052ae562da597","user":{"login":"equip","id":16503086,"avatar_url":"https://avatars.githubusercontent.com/u/16503086?v=3","gravatar_id":"","url":"https://api.github.com/users/equip","html_url":"https://github.com/equip","followers_url":"https://api.github.com/users/equip/followers","following_url":"https://api.github.com/users/equip/following{/other_user}","gists_url":"https://api.github.com/users/equip/gists{/gist_id}","starred_url":"https://api.github.com/users/equip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equip/subscriptions","organizations_url":"https://api.github.com/users/equip/orgs","repos_url":"https://api.github.com/users/equip/repos","events_url":"https://api.github.com/users/equip/events{/privacy}","received_events_url":"https://api.github.com/users/equip/received_events","type":"Organization","site_admin":false},"repo":{"id":53988540,"name":"assist","full_name":"equip/assist","owner":{"login":"equip","id":16503086,"avatar_url":"https://avatars.githubusercontent.com/u/16503086?v=3","gravatar_id":"","url":"https://api.github.com/users/equip","html_url":"https://github.com/equip","followers_url":"https://api.github.com/users/equip/followers","following_url":"https://api.github.com/users/equip/following{/other_user}","gists_url":"https://api.github.com/users/equip/gists{/gist_id}","starred_url":"https://api.github.com/users/equip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equip/subscriptions","organizations_url":"https://api.github.com/users/equip/orgs","repos_url":"https://api.github.com/users/equip/repos","events_url":"https://api.github.com/users/equip/events{/privacy}","received_events_url":"https://api.github.com/users/equip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/equip/assist","description":"Everyone needs a little assistance!","fork":false,"url":"https://api.github.com/repos/equip/assist","forks_url":"https://api.github.com/repos/equip/assist/forks","keys_url":"https://api.github.com/repos/equip/assist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equip/assist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equip/assist/teams","hooks_url":"https://api.github.com/repos/equip/assist/hooks","issue_events_url":"https://api.github.com/repos/equip/assist/issues/events{/number}","events_url":"https://api.github.com/repos/equip/assist/events","assignees_url":"https://api.github.com/repos/equip/assist/assignees{/user}","branches_url":"https://api.github.com/repos/equip/assist/branches{/branch}","tags_url":"https://api.github.com/repos/equip/assist/tags","blobs_url":"https://api.github.com/repos/equip/assist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equip/assist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equip/assist/git/refs{/sha}","trees_url":"https://api.github.com/repos/equip/assist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equip/assist/statuses/{sha}","languages_url":"https://api.github.com/repos/equip/assist/languages","stargazers_url":"https://api.github.com/repos/equip/assist/stargazers","contributors_url":"https://api.github.com/repos/equip/assist/contributors","subscribers_url":"https://api.github.com/repos/equip/assist/subscribers","subscription_url":"https://api.github.com/repos/equip/assist/subscription","commits_url":"https://api.github.com/repos/equip/assist/commits{/sha}","git_commits_url":"https://api.github.com/repos/equip/assist/git/commits{/sha}","comments_url":"https://api.github.com/repos/equip/assist/comments{/number}","issue_comment_url":"https://api.github.com/repos/equip/assist/issues/comments{/number}","contents_url":"https://api.github.com/repos/equip/assist/contents/{+path}","compare_url":"https://api.github.com/repos/equip/assist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equip/assist/merges","archive_url":"https://api.github.com/repos/equip/assist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equip/assist/downloads","issues_url":"https://api.github.com/repos/equip/assist/issues{/number}","pulls_url":"https://api.github.com/repos/equip/assist/pulls{/number}","milestones_url":"https://api.github.com/repos/equip/assist/milestones{/number}","notifications_url":"https://api.github.com/repos/equip/assist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equip/assist/labels{/name}","releases_url":"https://api.github.com/repos/equip/assist/releases{/id}","deployments_url":"https://api.github.com/repos/equip/assist/deployments","created_at":"2016-03-16T00:34:27Z","updated_at":"2016-07-08T11:29:00Z","pushed_at":"2016-11-22T05:41:19Z","git_url":"git://github.com/equip/assist.git","ssh_url":"git@github.com:equip/assist.git","clone_url":"https://github.com/equip/assist.git","svn_url":"https://github.com/equip/assist","homepage":"","size":44,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/equip/assist/pulls/23"},"html":{"href":"https://github.com/equip/assist/pull/23"},"issue":{"href":"https://api.github.com/repos/equip/assist/issues/23"},"comments":{"href":"https://api.github.com/repos/equip/assist/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/equip/assist/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/equip/assist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/equip/assist/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/equip/assist/statuses/c11dd1442d863893a57e880c6643590933d60220"}}}}
{"actor":{"display_login":"shadowhand"}}