{"action":"created","comment":{"url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/comments/177597534","pull_request_review_id":107497298,"id":177597534,"diff_hunk":"@@ -4,7 +4,10 @@\n \texit;\n }\n \n-abstract class WC_EBANX_Credit_Card_Gateway extends WC_EBANX_Gateway\n+/**\n+ * Class WC_EBANX_Credit_Card_Gateway\n+ */\n+abstract class WC_EBANX_Credit_Card_Gateway extends WC_EBANX_New_Gateway","path":"gateways/class-wc-ebanx-credit-card-gateway.php","position":8,"original_position":8,"commit_id":"83a6156a7809aef7bdecefdbd0a2acd975458169","original_commit_id":"ae5801b0d37b4af08450d9417c43c80e26b481fc","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [The class WC_EBANX_Credit_Card_Gateway has an overall complexity of 70 which is very high. The configured complexity threshold is 50.](https://app.codacy.com/app/EBANX/woocommerce-gateway-ebanx/pullRequest?prid=1415920)","created_at":"2018-03-27T23:00:56Z","updated_at":"2018-03-27T23:00:57Z","html_url":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643#discussion_r177597534","pull_request_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/comments/177597534"},"html":{"href":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643#discussion_r177597534"},"pull_request":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643"}}},"pull_request":{"url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643","id":174016444,"html_url":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643","diff_url":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643.diff","patch_url":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643.patch","issue_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/643","number":643,"state":"open","locked":false,"title":"Add benjamin","user":{"login":"andercampanha","id":25743015,"avatar_url":"https://avatars2.githubusercontent.com/u/25743015?v=4","gravatar_id":"","url":"https://api.github.com/users/andercampanha","html_url":"https://github.com/andercampanha","followers_url":"https://api.github.com/users/andercampanha/followers","following_url":"https://api.github.com/users/andercampanha/following{/other_user}","gists_url":"https://api.github.com/users/andercampanha/gists{/gist_id}","starred_url":"https://api.github.com/users/andercampanha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andercampanha/subscriptions","organizations_url":"https://api.github.com/users/andercampanha/orgs","repos_url":"https://api.github.com/users/andercampanha/repos","events_url":"https://api.github.com/users/andercampanha/events{/privacy}","received_events_url":"https://api.github.com/users/andercampanha/received_events","type":"User","site_admin":false},"body":"### PENDING\r\n\r\n- [x] tests to payment by link\r\n- [x] tests to request refund\r\n- [x] move cypress artifacts to /lib\r\n- [x] execute new admin tests on travis pipeline\r\n- [x] Cancel payments\r\n- [x] Check api keys\r\n- [x] Test notifications","created_at":"2018-03-09T14:20:36Z","updated_at":"2018-03-27T23:00:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2313b7baa7e180a6d0fb349b94c69901f2147df0","assignee":{"login":"andercampanha","id":25743015,"avatar_url":"https://avatars2.githubusercontent.com/u/25743015?v=4","gravatar_id":"","url":"https://api.github.com/users/andercampanha","html_url":"https://github.com/andercampanha","followers_url":"https://api.github.com/users/andercampanha/followers","following_url":"https://api.github.com/users/andercampanha/following{/other_user}","gists_url":"https://api.github.com/users/andercampanha/gists{/gist_id}","starred_url":"https://api.github.com/users/andercampanha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andercampanha/subscriptions","organizations_url":"https://api.github.com/users/andercampanha/orgs","repos_url":"https://api.github.com/users/andercampanha/repos","events_url":"https://api.github.com/users/andercampanha/events{/privacy}","received_events_url":"https://api.github.com/users/andercampanha/received_events","type":"User","site_admin":false},"assignees":[{"login":"andercampanha","id":25743015,"avatar_url":"https://avatars2.githubusercontent.com/u/25743015?v=4","gravatar_id":"","url":"https://api.github.com/users/andercampanha","html_url":"https://github.com/andercampanha","followers_url":"https://api.github.com/users/andercampanha/followers","following_url":"https://api.github.com/users/andercampanha/following{/other_user}","gists_url":"https://api.github.com/users/andercampanha/gists{/gist_id}","starred_url":"https://api.github.com/users/andercampanha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andercampanha/subscriptions","organizations_url":"https://api.github.com/users/andercampanha/orgs","repos_url":"https://api.github.com/users/andercampanha/repos","events_url":"https://api.github.com/users/andercampanha/events{/privacy}","received_events_url":"https://api.github.com/users/andercampanha/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":873783553,"url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/labels/on-hold","name":"on-hold","color":"d3bef7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643/commits","review_comments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643/comments","review_comment_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/643/comments","statuses_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/statuses/83a6156a7809aef7bdecefdbd0a2acd975458169","head":{"label":"ebanx:feature/add-benjamin","ref":"feature/add-benjamin","sha":"83a6156a7809aef7bdecefdbd0a2acd975458169","user":{"login":"ebanx","id":5168667,"avatar_url":"https://avatars3.githubusercontent.com/u/5168667?v=4","gravatar_id":"","url":"https://api.github.com/users/ebanx","html_url":"https://github.com/ebanx","followers_url":"https://api.github.com/users/ebanx/followers","following_url":"https://api.github.com/users/ebanx/following{/other_user}","gists_url":"https://api.github.com/users/ebanx/gists{/gist_id}","starred_url":"https://api.github.com/users/ebanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebanx/subscriptions","organizations_url":"https://api.github.com/users/ebanx/orgs","repos_url":"https://api.github.com/users/ebanx/repos","events_url":"https://api.github.com/users/ebanx/events{/privacy}","received_events_url":"https://api.github.com/users/ebanx/received_events","type":"Organization","site_admin":false},"repo":{"id":70833779,"name":"woocommerce-gateway-ebanx","full_name":"ebanx/woocommerce-gateway-ebanx","owner":{"login":"ebanx","id":5168667,"avatar_url":"https://avatars3.githubusercontent.com/u/5168667?v=4","gravatar_id":"","url":"https://api.github.com/users/ebanx","html_url":"https://github.com/ebanx","followers_url":"https://api.github.com/users/ebanx/followers","following_url":"https://api.github.com/users/ebanx/following{/other_user}","gists_url":"https://api.github.com/users/ebanx/gists{/gist_id}","starred_url":"https://api.github.com/users/ebanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebanx/subscriptions","organizations_url":"https://api.github.com/users/ebanx/orgs","repos_url":"https://api.github.com/users/ebanx/repos","events_url":"https://api.github.com/users/ebanx/events{/privacy}","received_events_url":"https://api.github.com/users/ebanx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ebanx/woocommerce-gateway-ebanx","description":"EBANX Plugin for WooCommerce","fork":false,"url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx","forks_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/forks","keys_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/teams","hooks_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/hooks","issue_events_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/events{/number}","events_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/events","assignees_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/assignees{/user}","branches_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/branches{/branch}","tags_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/tags","blobs_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/statuses/{sha}","languages_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/languages","stargazers_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/stargazers","contributors_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/contributors","subscribers_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/subscribers","subscription_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/subscription","commits_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/contents/{+path}","compare_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/merges","archive_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/downloads","issues_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues{/number}","pulls_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls{/number}","milestones_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/milestones{/number}","notifications_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/labels{/name}","releases_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/releases{/id}","deployments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/deployments","created_at":"2016-10-13T18:00:19Z","updated_at":"2018-03-27T19:35:01Z","pushed_at":"2018-03-27T22:57:38Z","git_url":"git://github.com/ebanx/woocommerce-gateway-ebanx.git","ssh_url":"git@github.com:ebanx/woocommerce-gateway-ebanx.git","clone_url":"https://github.com/ebanx/woocommerce-gateway-ebanx.git","svn_url":"https://github.com/ebanx/woocommerce-gateway-ebanx","homepage":"https://developers.ebanx.com/integrations/extensions-and-plugins/woocommerce-plugin/","size":34740,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":19,"watchers":3,"default_branch":"master"}},"base":{"label":"ebanx:master","ref":"master","sha":"bca2f92f67fc0a4fff07b145701364a4ff8209ed","user":{"login":"ebanx","id":5168667,"avatar_url":"https://avatars3.githubusercontent.com/u/5168667?v=4","gravatar_id":"","url":"https://api.github.com/users/ebanx","html_url":"https://github.com/ebanx","followers_url":"https://api.github.com/users/ebanx/followers","following_url":"https://api.github.com/users/ebanx/following{/other_user}","gists_url":"https://api.github.com/users/ebanx/gists{/gist_id}","starred_url":"https://api.github.com/users/ebanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebanx/subscriptions","organizations_url":"https://api.github.com/users/ebanx/orgs","repos_url":"https://api.github.com/users/ebanx/repos","events_url":"https://api.github.com/users/ebanx/events{/privacy}","received_events_url":"https://api.github.com/users/ebanx/received_events","type":"Organization","site_admin":false},"repo":{"id":70833779,"name":"woocommerce-gateway-ebanx","full_name":"ebanx/woocommerce-gateway-ebanx","owner":{"login":"ebanx","id":5168667,"avatar_url":"https://avatars3.githubusercontent.com/u/5168667?v=4","gravatar_id":"","url":"https://api.github.com/users/ebanx","html_url":"https://github.com/ebanx","followers_url":"https://api.github.com/users/ebanx/followers","following_url":"https://api.github.com/users/ebanx/following{/other_user}","gists_url":"https://api.github.com/users/ebanx/gists{/gist_id}","starred_url":"https://api.github.com/users/ebanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebanx/subscriptions","organizations_url":"https://api.github.com/users/ebanx/orgs","repos_url":"https://api.github.com/users/ebanx/repos","events_url":"https://api.github.com/users/ebanx/events{/privacy}","received_events_url":"https://api.github.com/users/ebanx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ebanx/woocommerce-gateway-ebanx","description":"EBANX Plugin for WooCommerce","fork":false,"url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx","forks_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/forks","keys_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/teams","hooks_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/hooks","issue_events_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/events{/number}","events_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/events","assignees_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/assignees{/user}","branches_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/branches{/branch}","tags_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/tags","blobs_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/statuses/{sha}","languages_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/languages","stargazers_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/stargazers","contributors_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/contributors","subscribers_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/subscribers","subscription_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/subscription","commits_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/contents/{+path}","compare_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/merges","archive_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/downloads","issues_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues{/number}","pulls_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls{/number}","milestones_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/milestones{/number}","notifications_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/labels{/name}","releases_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/releases{/id}","deployments_url":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/deployments","created_at":"2016-10-13T18:00:19Z","updated_at":"2018-03-27T19:35:01Z","pushed_at":"2018-03-27T22:57:38Z","git_url":"git://github.com/ebanx/woocommerce-gateway-ebanx.git","ssh_url":"git@github.com:ebanx/woocommerce-gateway-ebanx.git","clone_url":"https://github.com/ebanx/woocommerce-gateway-ebanx.git","svn_url":"https://github.com/ebanx/woocommerce-gateway-ebanx","homepage":"https://developers.ebanx.com/integrations/extensions-and-plugins/woocommerce-plugin/","size":34740,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":19,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643"},"html":{"href":"https://github.com/ebanx/woocommerce-gateway-ebanx/pull/643"},"issue":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/643"},"comments":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/issues/643/comments"},"review_comments":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643/comments"},"review_comment":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/pulls/643/commits"},"statuses":{"href":"https://api.github.com/repos/ebanx/woocommerce-gateway-ebanx/statuses/83a6156a7809aef7bdecefdbd0a2acd975458169"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}