{"action":"created","comment":{"url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/comments/283774869","pull_request_review_id":237213001,"id":283774869,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4Mzc3NDg2OQ==","diff_hunk":"@@ -0,0 +1,50 @@\n+<?php\n+\n+namespace Escopecz\\MauticFormSubmit\\Mautic;\n+\n+/**\n+ * Mautic Configuration\n+ */\n+class Config\n+{\n+    /**\n+     * Curl verbose logging option\n+     *\n+     * @var int\n+     */\n+    protected $curlVerbose; ","path":"src/Mautic/Config.php","position":15,"original_position":15,"commit_id":"a2cd3e767c743d2591e05cd6bcbaad348af97fae","original_commit_id":"a2cd3e767c743d2591e05cd6bcbaad348af97fae","user":{"login":"escopecz","id":1235442,"node_id":"MDQ6VXNlcjEyMzU0NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1235442?v=4","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n    protected $curlVerbose = 1; \r\n```\r\nLet's set the default option to 1 to avoid a BC break.","created_at":"2019-05-14T12:38:13Z","updated_at":"2019-05-14T12:48:50Z","html_url":"https://github.com/escopecz/mautic-form-submit/pull/12#discussion_r283774869","pull_request_url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/comments/283774869"},"html":{"href":"https://github.com/escopecz/mautic-form-submit/pull/12#discussion_r283774869"},"pull_request":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12","id":278660914,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc4NjYwOTE0","html_url":"https://github.com/escopecz/mautic-form-submit/pull/12","diff_url":"https://github.com/escopecz/mautic-form-submit/pull/12.diff","patch_url":"https://github.com/escopecz/mautic-form-submit/pull/12.patch","issue_url":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/12","number":12,"state":"open","locked":false,"title":"Adding a DTO object to control curl verbose logging","user":{"login":"9rj","id":9198675,"node_id":"MDQ6VXNlcjkxOTg2NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9198675?v=4","gravatar_id":"","url":"https://api.github.com/users/9rj","html_url":"https://github.com/9rj","followers_url":"https://api.github.com/users/9rj/followers","following_url":"https://api.github.com/users/9rj/following{/other_user}","gists_url":"https://api.github.com/users/9rj/gists{/gist_id}","starred_url":"https://api.github.com/users/9rj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rj/subscriptions","organizations_url":"https://api.github.com/users/9rj/orgs","repos_url":"https://api.github.com/users/9rj/repos","events_url":"https://api.github.com/users/9rj/events{/privacy}","received_events_url":"https://api.github.com/users/9rj/received_events","type":"User","site_admin":false},"body":"I've created a config DTO, modified the Mautic constructor to take the config object, and also modified the example code and readme to use the config object. ","created_at":"2019-05-14T12:32:24Z","updated_at":"2019-05-14T12:48:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c976c3b6a47a247b1d7cacc66a1c58cab2d06a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12/commits","review_comments_url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12/comments","review_comment_url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/12/comments","statuses_url":"https://api.github.com/repos/escopecz/mautic-form-submit/statuses/a2cd3e767c743d2591e05cd6bcbaad348af97fae","head":{"label":"9rj:master","ref":"master","sha":"a2cd3e767c743d2591e05cd6bcbaad348af97fae","user":{"login":"9rj","id":9198675,"node_id":"MDQ6VXNlcjkxOTg2NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9198675?v=4","gravatar_id":"","url":"https://api.github.com/users/9rj","html_url":"https://github.com/9rj","followers_url":"https://api.github.com/users/9rj/followers","following_url":"https://api.github.com/users/9rj/following{/other_user}","gists_url":"https://api.github.com/users/9rj/gists{/gist_id}","starred_url":"https://api.github.com/users/9rj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rj/subscriptions","organizations_url":"https://api.github.com/users/9rj/orgs","repos_url":"https://api.github.com/users/9rj/repos","events_url":"https://api.github.com/users/9rj/events{/privacy}","received_events_url":"https://api.github.com/users/9rj/received_events","type":"User","site_admin":false},"repo":{"id":186379925,"node_id":"MDEwOlJlcG9zaXRvcnkxODYzNzk5MjU=","name":"mautic-form-submit","full_name":"9rj/mautic-form-submit","private":false,"owner":{"login":"9rj","id":9198675,"node_id":"MDQ6VXNlcjkxOTg2NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9198675?v=4","gravatar_id":"","url":"https://api.github.com/users/9rj","html_url":"https://github.com/9rj","followers_url":"https://api.github.com/users/9rj/followers","following_url":"https://api.github.com/users/9rj/following{/other_user}","gists_url":"https://api.github.com/users/9rj/gists{/gist_id}","starred_url":"https://api.github.com/users/9rj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rj/subscriptions","organizations_url":"https://api.github.com/users/9rj/orgs","repos_url":"https://api.github.com/users/9rj/repos","events_url":"https://api.github.com/users/9rj/events{/privacy}","received_events_url":"https://api.github.com/users/9rj/received_events","type":"User","site_admin":false},"html_url":"https://github.com/9rj/mautic-form-submit","description":"PHP library to forward data to a Mautic form","fork":true,"url":"https://api.github.com/repos/9rj/mautic-form-submit","forks_url":"https://api.github.com/repos/9rj/mautic-form-submit/forks","keys_url":"https://api.github.com/repos/9rj/mautic-form-submit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9rj/mautic-form-submit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9rj/mautic-form-submit/teams","hooks_url":"https://api.github.com/repos/9rj/mautic-form-submit/hooks","issue_events_url":"https://api.github.com/repos/9rj/mautic-form-submit/issues/events{/number}","events_url":"https://api.github.com/repos/9rj/mautic-form-submit/events","assignees_url":"https://api.github.com/repos/9rj/mautic-form-submit/assignees{/user}","branches_url":"https://api.github.com/repos/9rj/mautic-form-submit/branches{/branch}","tags_url":"https://api.github.com/repos/9rj/mautic-form-submit/tags","blobs_url":"https://api.github.com/repos/9rj/mautic-form-submit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9rj/mautic-form-submit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9rj/mautic-form-submit/git/refs{/sha}","trees_url":"https://api.github.com/repos/9rj/mautic-form-submit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9rj/mautic-form-submit/statuses/{sha}","languages_url":"https://api.github.com/repos/9rj/mautic-form-submit/languages","stargazers_url":"https://api.github.com/repos/9rj/mautic-form-submit/stargazers","contributors_url":"https://api.github.com/repos/9rj/mautic-form-submit/contributors","subscribers_url":"https://api.github.com/repos/9rj/mautic-form-submit/subscribers","subscription_url":"https://api.github.com/repos/9rj/mautic-form-submit/subscription","commits_url":"https://api.github.com/repos/9rj/mautic-form-submit/commits{/sha}","git_commits_url":"https://api.github.com/repos/9rj/mautic-form-submit/git/commits{/sha}","comments_url":"https://api.github.com/repos/9rj/mautic-form-submit/comments{/number}","issue_comment_url":"https://api.github.com/repos/9rj/mautic-form-submit/issues/comments{/number}","contents_url":"https://api.github.com/repos/9rj/mautic-form-submit/contents/{+path}","compare_url":"https://api.github.com/repos/9rj/mautic-form-submit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9rj/mautic-form-submit/merges","archive_url":"https://api.github.com/repos/9rj/mautic-form-submit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9rj/mautic-form-submit/downloads","issues_url":"https://api.github.com/repos/9rj/mautic-form-submit/issues{/number}","pulls_url":"https://api.github.com/repos/9rj/mautic-form-submit/pulls{/number}","milestones_url":"https://api.github.com/repos/9rj/mautic-form-submit/milestones{/number}","notifications_url":"https://api.github.com/repos/9rj/mautic-form-submit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9rj/mautic-form-submit/labels{/name}","releases_url":"https://api.github.com/repos/9rj/mautic-form-submit/releases{/id}","deployments_url":"https://api.github.com/repos/9rj/mautic-form-submit/deployments","created_at":"2019-05-13T08:41:07Z","updated_at":"2019-05-14T12:24:09Z","pushed_at":"2019-05-14T12:24:08Z","git_url":"git://github.com/9rj/mautic-form-submit.git","ssh_url":"git@github.com:9rj/mautic-form-submit.git","clone_url":"https://github.com/9rj/mautic-form-submit.git","svn_url":"https://github.com/9rj/mautic-form-submit","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"escopecz:master","ref":"master","sha":"e6b8cc4d527423ad63cc48122deef6425a7e419b","user":{"login":"escopecz","id":1235442,"node_id":"MDQ6VXNlcjEyMzU0NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1235442?v=4","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"repo":{"id":89398252,"node_id":"MDEwOlJlcG9zaXRvcnk4OTM5ODI1Mg==","name":"mautic-form-submit","full_name":"escopecz/mautic-form-submit","private":false,"owner":{"login":"escopecz","id":1235442,"node_id":"MDQ6VXNlcjEyMzU0NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1235442?v=4","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/escopecz/mautic-form-submit","description":"PHP library to forward data to a Mautic form","fork":false,"url":"https://api.github.com/repos/escopecz/mautic-form-submit","forks_url":"https://api.github.com/repos/escopecz/mautic-form-submit/forks","keys_url":"https://api.github.com/repos/escopecz/mautic-form-submit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/escopecz/mautic-form-submit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/escopecz/mautic-form-submit/teams","hooks_url":"https://api.github.com/repos/escopecz/mautic-form-submit/hooks","issue_events_url":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/events{/number}","events_url":"https://api.github.com/repos/escopecz/mautic-form-submit/events","assignees_url":"https://api.github.com/repos/escopecz/mautic-form-submit/assignees{/user}","branches_url":"https://api.github.com/repos/escopecz/mautic-form-submit/branches{/branch}","tags_url":"https://api.github.com/repos/escopecz/mautic-form-submit/tags","blobs_url":"https://api.github.com/repos/escopecz/mautic-form-submit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/escopecz/mautic-form-submit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/escopecz/mautic-form-submit/git/refs{/sha}","trees_url":"https://api.github.com/repos/escopecz/mautic-form-submit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/escopecz/mautic-form-submit/statuses/{sha}","languages_url":"https://api.github.com/repos/escopecz/mautic-form-submit/languages","stargazers_url":"https://api.github.com/repos/escopecz/mautic-form-submit/stargazers","contributors_url":"https://api.github.com/repos/escopecz/mautic-form-submit/contributors","subscribers_url":"https://api.github.com/repos/escopecz/mautic-form-submit/subscribers","subscription_url":"https://api.github.com/repos/escopecz/mautic-form-submit/subscription","commits_url":"https://api.github.com/repos/escopecz/mautic-form-submit/commits{/sha}","git_commits_url":"https://api.github.com/repos/escopecz/mautic-form-submit/git/commits{/sha}","comments_url":"https://api.github.com/repos/escopecz/mautic-form-submit/comments{/number}","issue_comment_url":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/comments{/number}","contents_url":"https://api.github.com/repos/escopecz/mautic-form-submit/contents/{+path}","compare_url":"https://api.github.com/repos/escopecz/mautic-form-submit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/escopecz/mautic-form-submit/merges","archive_url":"https://api.github.com/repos/escopecz/mautic-form-submit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/escopecz/mautic-form-submit/downloads","issues_url":"https://api.github.com/repos/escopecz/mautic-form-submit/issues{/number}","pulls_url":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls{/number}","milestones_url":"https://api.github.com/repos/escopecz/mautic-form-submit/milestones{/number}","notifications_url":"https://api.github.com/repos/escopecz/mautic-form-submit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/escopecz/mautic-form-submit/labels{/name}","releases_url":"https://api.github.com/repos/escopecz/mautic-form-submit/releases{/id}","deployments_url":"https://api.github.com/repos/escopecz/mautic-form-submit/deployments","created_at":"2017-04-25T19:23:03Z","updated_at":"2019-05-01T14:23:44Z","pushed_at":"2019-05-14T12:32:25Z","git_url":"git://github.com/escopecz/mautic-form-submit.git","ssh_url":"git@github.com:escopecz/mautic-form-submit.git","clone_url":"https://github.com/escopecz/mautic-form-submit.git","svn_url":"https://github.com/escopecz/mautic-form-submit","homepage":null,"size":44,"stargazers_count":31,"watchers_count":31,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10,"open_issues":2,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12"},"html":{"href":"https://github.com/escopecz/mautic-form-submit/pull/12"},"issue":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/12"},"comments":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/escopecz/mautic-form-submit/statuses/a2cd3e767c743d2591e05cd6bcbaad348af97fae"}},"author_association":"NONE"}}
{"actor":{"display_login":"escopecz"}}