{"action":"created","comment":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/70666059","id":70666059,"diff_hunk":"@@ -0,0 +1,19 @@\n+<?php\n+// Get the PHP helper library from twilio.com/docs/php/install\n+require_once('/path/to/twilio-php/Services/Twilio.php'); // Loads the library","path":"rest/taskrouter/activities/instance/delete/example-1/example-1.5.x.php","position":3,"original_position":3,"commit_id":"cb58a8f96f1f9765b6596b1be9b0350feb6466c0","original_commit_id":"cb58a8f96f1f9765b6596b1be9b0350feb6466c0","user":{"login":"mcelicalderon","id":3926414,"avatar_url":"https://avatars.githubusercontent.com/u/3926414?v=3","gravatar_id":"","url":"https://api.github.com/users/mcelicalderon","html_url":"https://github.com/mcelicalderon","followers_url":"https://api.github.com/users/mcelicalderon/followers","following_url":"https://api.github.com/users/mcelicalderon/following{/other_user}","gists_url":"https://api.github.com/users/mcelicalderon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcelicalderon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcelicalderon/subscriptions","organizations_url":"https://api.github.com/users/mcelicalderon/orgs","repos_url":"https://api.github.com/users/mcelicalderon/repos","events_url":"https://api.github.com/users/mcelicalderon/events{/privacy}","received_events_url":"https://api.github.com/users/mcelicalderon/received_events","type":"User","site_admin":false},"body":"As PHPCS will suggest (I think that the PHP interpreter will also give you a warning) `require_once` is not a function you should not use parenthesis. This is an error found in the v4 snippets. Already fixed in my v5 snippets.","created_at":"2016-07-13T17:04:31Z","updated_at":"2016-07-13T17:04:31Z","html_url":"https://github.com/TwilioDevEd/api-snippets/pull/96#discussion_r70666059","pull_request_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/70666059"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/96#discussion_r70666059"},"pull_request":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96","id":77198689,"html_url":"https://github.com/TwilioDevEd/api-snippets/pull/96","diff_url":"https://github.com/TwilioDevEd/api-snippets/pull/96.diff","patch_url":"https://github.com/TwilioDevEd/api-snippets/pull/96.patch","issue_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/96","number":96,"state":"open","locked":false,"title":"Add new taskrouter snippets for twilio-php v5","user":{"login":"EliuX","id":6514740,"avatar_url":"https://avatars.githubusercontent.com/u/6514740?v=3","gravatar_id":"","url":"https://api.github.com/users/EliuX","html_url":"https://github.com/EliuX","followers_url":"https://api.github.com/users/EliuX/followers","following_url":"https://api.github.com/users/EliuX/following{/other_user}","gists_url":"https://api.github.com/users/EliuX/gists{/gist_id}","starred_url":"https://api.github.com/users/EliuX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliuX/subscriptions","organizations_url":"https://api.github.com/users/EliuX/orgs","repos_url":"https://api.github.com/users/EliuX/repos","events_url":"https://api.github.com/users/EliuX/events{/privacy}","received_events_url":"https://api.github.com/users/EliuX/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-12T21:56:32Z","updated_at":"2016-07-13T17:04:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28bc2e97b3dfba750d1cbd3ee9c5dfa182b53dc6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96/commits","review_comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96/comments","review_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/96/comments","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/cb58a8f96f1f9765b6596b1be9b0350feb6466c0","head":{"label":"TwilioDevEd:nextgen-taskrouter-php-snippets","ref":"nextgen-taskrouter-php-snippets","sha":"cb58a8f96f1f9765b6596b1be9b0350feb6466c0","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2016-05-24T21:34:50Z","pushed_at":"2016-07-13T14:33:21Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":15593,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"TwilioDevEd:master","ref":"master","sha":"4920aefd1d957200cde1d82bc7df3d72cf8d5226","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2016-05-24T21:34:50Z","pushed_at":"2016-07-13T14:33:21Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":15593,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/96"},"issue":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/96"},"comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/cb58a8f96f1f9765b6596b1be9b0350feb6466c0"}}}}
{"actor":{"display_login":"mcelicalderon"}}