{"action":"created","comment":{"url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/comments/179887148","pull_request_review_id":110222404,"id":179887148,"diff_hunk":"@@ -0,0 +1,15 @@\n+<?php\n+\n+namespace FFC\\Calculator\\Configuration\\Rule;\n+\n+use FFC\\Formation\\Footballer\\FootballerAbstract;\n+\n+abstract class MatchRuleAbstract extends RuleAbstract\n+{\n+    /**\n+     * @param FootballerAbstract[] $footballers\n+     * @param FootballerAbstract[] $opponents\n+     * @return float\n+     */\n+    abstract public function getBonus(array $footballers = array(), array $opponents = array()): float;","path":"src/Calculator/Configuration/Rule/MatchRuleAbstract.php","position":14,"original_position":14,"commit_id":"a36174f231225b117e1b9539b7d408abdd4888f0","original_commit_id":"a36174f231225b117e1b9539b7d408abdd4888f0","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: [Short array syntax must be used to define arrays](https://app.codacy.com/app/astronati/php-fantasy-football-calculator/pullRequest?prid=1508868)","created_at":"2018-04-06T22:08:31Z","updated_at":"2018-04-06T22:08:31Z","html_url":"https://github.com/astronati/php-fantasy-football-calculator/pull/75#discussion_r179887148","pull_request_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/comments/179887148"},"html":{"href":"https://github.com/astronati/php-fantasy-football-calculator/pull/75#discussion_r179887148"},"pull_request":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75","id":179666611,"html_url":"https://github.com/astronati/php-fantasy-football-calculator/pull/75","diff_url":"https://github.com/astronati/php-fantasy-football-calculator/pull/75.diff","patch_url":"https://github.com/astronati/php-fantasy-football-calculator/pull/75.patch","issue_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/75","number":75,"state":"open","locked":false,"title":"ref #74 Refactor calculator in order to follow a OOP approach","user":{"login":"astronati","id":2708431,"avatar_url":"https://avatars3.githubusercontent.com/u/2708431?v=4","gravatar_id":"","url":"https://api.github.com/users/astronati","html_url":"https://github.com/astronati","followers_url":"https://api.github.com/users/astronati/followers","following_url":"https://api.github.com/users/astronati/following{/other_user}","gists_url":"https://api.github.com/users/astronati/gists{/gist_id}","starred_url":"https://api.github.com/users/astronati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronati/subscriptions","organizations_url":"https://api.github.com/users/astronati/orgs","repos_url":"https://api.github.com/users/astronati/repos","events_url":"https://api.github.com/users/astronati/events{/privacy}","received_events_url":"https://api.github.com/users/astronati/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-05T12:53:14Z","updated_at":"2018-04-06T22:08:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7d7ee725b1f7c97d8301788df21b8b8e5c837f0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75/commits","review_comments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75/comments","review_comment_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/75/comments","statuses_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/statuses/a36174f231225b117e1b9539b7d408abdd4888f0","head":{"label":"astronati:issues/74","ref":"issues/74","sha":"a36174f231225b117e1b9539b7d408abdd4888f0","user":{"login":"astronati","id":2708431,"avatar_url":"https://avatars3.githubusercontent.com/u/2708431?v=4","gravatar_id":"","url":"https://api.github.com/users/astronati","html_url":"https://github.com/astronati","followers_url":"https://api.github.com/users/astronati/followers","following_url":"https://api.github.com/users/astronati/following{/other_user}","gists_url":"https://api.github.com/users/astronati/gists{/gist_id}","starred_url":"https://api.github.com/users/astronati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronati/subscriptions","organizations_url":"https://api.github.com/users/astronati/orgs","repos_url":"https://api.github.com/users/astronati/repos","events_url":"https://api.github.com/users/astronati/events{/privacy}","received_events_url":"https://api.github.com/users/astronati/received_events","type":"User","site_admin":false},"repo":{"id":52156681,"name":"php-fantasy-football-calculator","full_name":"astronati/php-fantasy-football-calculator","owner":{"login":"astronati","id":2708431,"avatar_url":"https://avatars3.githubusercontent.com/u/2708431?v=4","gravatar_id":"","url":"https://api.github.com/users/astronati","html_url":"https://github.com/astronati","followers_url":"https://api.github.com/users/astronati/followers","following_url":"https://api.github.com/users/astronati/following{/other_user}","gists_url":"https://api.github.com/users/astronati/gists{/gist_id}","starred_url":"https://api.github.com/users/astronati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronati/subscriptions","organizations_url":"https://api.github.com/users/astronati/orgs","repos_url":"https://api.github.com/users/astronati/repos","events_url":"https://api.github.com/users/astronati/events{/privacy}","received_events_url":"https://api.github.com/users/astronati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astronati/php-fantasy-football-calculator","description":"Allows user to calculate the points that a fantasy team has reached after a soccer match. The total can be altered through some bonus like the defense one.","fork":false,"url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator","forks_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/forks","keys_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/teams","hooks_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/hooks","issue_events_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/events","assignees_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/tags","blobs_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/languages","stargazers_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/stargazers","contributors_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/contributors","subscribers_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/subscribers","subscription_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/subscription","commits_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/merges","archive_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/downloads","issues_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/labels{/name}","releases_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/deployments","created_at":"2016-02-20T14:14:58Z","updated_at":"2018-04-04T13:10:58Z","pushed_at":"2018-04-06T22:06:40Z","git_url":"git://github.com/astronati/php-fantasy-football-calculator.git","ssh_url":"git@github.com:astronati/php-fantasy-football-calculator.git","clone_url":"https://github.com/astronati/php-fantasy-football-calculator.git","svn_url":"https://github.com/astronati/php-fantasy-football-calculator","homepage":"http://astronati.github.io/php-fantasy-football-calculator","size":1469,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"astronati:master","ref":"master","sha":"cb9c6829da26d3b61ae918885750685d4b115ac9","user":{"login":"astronati","id":2708431,"avatar_url":"https://avatars3.githubusercontent.com/u/2708431?v=4","gravatar_id":"","url":"https://api.github.com/users/astronati","html_url":"https://github.com/astronati","followers_url":"https://api.github.com/users/astronati/followers","following_url":"https://api.github.com/users/astronati/following{/other_user}","gists_url":"https://api.github.com/users/astronati/gists{/gist_id}","starred_url":"https://api.github.com/users/astronati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronati/subscriptions","organizations_url":"https://api.github.com/users/astronati/orgs","repos_url":"https://api.github.com/users/astronati/repos","events_url":"https://api.github.com/users/astronati/events{/privacy}","received_events_url":"https://api.github.com/users/astronati/received_events","type":"User","site_admin":false},"repo":{"id":52156681,"name":"php-fantasy-football-calculator","full_name":"astronati/php-fantasy-football-calculator","owner":{"login":"astronati","id":2708431,"avatar_url":"https://avatars3.githubusercontent.com/u/2708431?v=4","gravatar_id":"","url":"https://api.github.com/users/astronati","html_url":"https://github.com/astronati","followers_url":"https://api.github.com/users/astronati/followers","following_url":"https://api.github.com/users/astronati/following{/other_user}","gists_url":"https://api.github.com/users/astronati/gists{/gist_id}","starred_url":"https://api.github.com/users/astronati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronati/subscriptions","organizations_url":"https://api.github.com/users/astronati/orgs","repos_url":"https://api.github.com/users/astronati/repos","events_url":"https://api.github.com/users/astronati/events{/privacy}","received_events_url":"https://api.github.com/users/astronati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astronati/php-fantasy-football-calculator","description":"Allows user to calculate the points that a fantasy team has reached after a soccer match. The total can be altered through some bonus like the defense one.","fork":false,"url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator","forks_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/forks","keys_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/teams","hooks_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/hooks","issue_events_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/events{/number}","events_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/events","assignees_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/assignees{/user}","branches_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/branches{/branch}","tags_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/tags","blobs_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/languages","stargazers_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/stargazers","contributors_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/contributors","subscribers_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/subscribers","subscription_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/subscription","commits_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/contents/{+path}","compare_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/merges","archive_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/downloads","issues_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues{/number}","pulls_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/labels{/name}","releases_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/releases{/id}","deployments_url":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/deployments","created_at":"2016-02-20T14:14:58Z","updated_at":"2018-04-04T13:10:58Z","pushed_at":"2018-04-06T22:06:40Z","git_url":"git://github.com/astronati/php-fantasy-football-calculator.git","ssh_url":"git@github.com:astronati/php-fantasy-football-calculator.git","clone_url":"https://github.com/astronati/php-fantasy-football-calculator.git","svn_url":"https://github.com/astronati/php-fantasy-football-calculator","homepage":"http://astronati.github.io/php-fantasy-football-calculator","size":1469,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75"},"html":{"href":"https://github.com/astronati/php-fantasy-football-calculator/pull/75"},"issue":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/75"},"comments":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/astronati/php-fantasy-football-calculator/statuses/a36174f231225b117e1b9539b7d408abdd4888f0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}