{"action":"created","comment":{"url":"https://api.github.com/repos/dimarick/test_review/pulls/comments/201243425","pull_request_review_id":135703512,"id":201243425,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTI0MzQyNQ==","diff_hunk":"@@ -0,0 +1,97 @@\n+<?php\n+\n+namespace src\\Integration;\n+\n+class DataProvider\n+{\n+    private $host;\n+    private $user;\n+    private $password;\n+\n+    /**\n+     * @param $host\n+     * @param $user\n+     * @param $password\n+     */\n+    public function __construct($host, $user, $password)\n+    {\n+        $this->host = $host;\n+        $this->user = $user;\n+        $this->password = $password;\n+    }\n+    \n+    /**\n+     * @param array $request\n+     *\n+     * @return array\n+     */\n+    public function get(array $request)\n+    {\n+        // returns a response from external service\n+    }\n+}\n+<?php\n+\n+namespace src\\Decorator;\n+\n+use DateTime;\n+use Exception;\n+use Psr\\Cache\\CacheItemPoolInterface;\n+use Psr\\Log\\LoggerInterface;\n+use src\\Integration\\DataProvider;\n+\n+class DecoratorManager extends DataProvider\n+{\n+    public $cache;\n+    public $logger;\n+\n+    /**\n+     * @param string $host\n+     * @param string $user\n+     * @param string $password\n+     * @param CacheItemPoolInterface $cache\n+     */\n+    public function __construct($host, $user, $password, CacheItemPoolInterface $cache)","path":"test.php","position":54,"original_position":54,"commit_id":"7521ab7cefd2b4c05cd97206679404b5599a86bc","original_commit_id":"7521ab7cefd2b4c05cd97206679404b5599a86bc","user":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"body":"missing type hints","created_at":"2018-07-10T07:36:04Z","updated_at":"2018-07-10T07:47:48Z","html_url":"https://github.com/dimarick/test_review/pull/1#discussion_r201243425","pull_request_url":"https://api.github.com/repos/dimarick/test_review/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/comments/201243425"},"html":{"href":"https://github.com/dimarick/test_review/pull/1#discussion_r201243425"},"pull_request":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dimarick/test_review/pulls/1","id":200306101,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMzA2MTAx","html_url":"https://github.com/dimarick/test_review/pull/1","diff_url":"https://github.com/dimarick/test_review/pull/1.diff","patch_url":"https://github.com/dimarick/test_review/pull/1.patch","issue_url":"https://api.github.com/repos/dimarick/test_review/issues/1","number":1,"state":"open","locked":false,"title":"add test.php","user":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-10T07:30:56Z","updated_at":"2018-07-10T07:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"222f27109f04287005faf5731e35b4032e92cd81","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimarick/test_review/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dimarick/test_review/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dimarick/test_review/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimarick/test_review/issues/1/comments","statuses_url":"https://api.github.com/repos/dimarick/test_review/statuses/7521ab7cefd2b4c05cd97206679404b5599a86bc","head":{"label":"dimarick:test","ref":"test","sha":"7521ab7cefd2b4c05cd97206679404b5599a86bc","user":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"repo":{"id":140393222,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzOTMyMjI=","name":"test_review","full_name":"dimarick/test_review","owner":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimarick/test_review","description":null,"fork":false,"url":"https://api.github.com/repos/dimarick/test_review","forks_url":"https://api.github.com/repos/dimarick/test_review/forks","keys_url":"https://api.github.com/repos/dimarick/test_review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimarick/test_review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimarick/test_review/teams","hooks_url":"https://api.github.com/repos/dimarick/test_review/hooks","issue_events_url":"https://api.github.com/repos/dimarick/test_review/issues/events{/number}","events_url":"https://api.github.com/repos/dimarick/test_review/events","assignees_url":"https://api.github.com/repos/dimarick/test_review/assignees{/user}","branches_url":"https://api.github.com/repos/dimarick/test_review/branches{/branch}","tags_url":"https://api.github.com/repos/dimarick/test_review/tags","blobs_url":"https://api.github.com/repos/dimarick/test_review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimarick/test_review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimarick/test_review/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimarick/test_review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimarick/test_review/statuses/{sha}","languages_url":"https://api.github.com/repos/dimarick/test_review/languages","stargazers_url":"https://api.github.com/repos/dimarick/test_review/stargazers","contributors_url":"https://api.github.com/repos/dimarick/test_review/contributors","subscribers_url":"https://api.github.com/repos/dimarick/test_review/subscribers","subscription_url":"https://api.github.com/repos/dimarick/test_review/subscription","commits_url":"https://api.github.com/repos/dimarick/test_review/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimarick/test_review/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimarick/test_review/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimarick/test_review/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimarick/test_review/contents/{+path}","compare_url":"https://api.github.com/repos/dimarick/test_review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimarick/test_review/merges","archive_url":"https://api.github.com/repos/dimarick/test_review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimarick/test_review/downloads","issues_url":"https://api.github.com/repos/dimarick/test_review/issues{/number}","pulls_url":"https://api.github.com/repos/dimarick/test_review/pulls{/number}","milestones_url":"https://api.github.com/repos/dimarick/test_review/milestones{/number}","notifications_url":"https://api.github.com/repos/dimarick/test_review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimarick/test_review/labels{/name}","releases_url":"https://api.github.com/repos/dimarick/test_review/releases{/id}","deployments_url":"https://api.github.com/repos/dimarick/test_review/deployments","created_at":"2018-07-10T07:20:57Z","updated_at":"2018-07-10T07:24:22Z","pushed_at":"2018-07-10T07:30:57Z","git_url":"git://github.com/dimarick/test_review.git","ssh_url":"git@github.com:dimarick/test_review.git","clone_url":"https://github.com/dimarick/test_review.git","svn_url":"https://github.com/dimarick/test_review","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dimarick:master","ref":"master","sha":"fd481cab59e9c82953a034b89428ca7bce8e554c","user":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"repo":{"id":140393222,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzOTMyMjI=","name":"test_review","full_name":"dimarick/test_review","owner":{"login":"dimarick","id":2605934,"node_id":"MDQ6VXNlcjI2MDU5MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2605934?v=4","gravatar_id":"","url":"https://api.github.com/users/dimarick","html_url":"https://github.com/dimarick","followers_url":"https://api.github.com/users/dimarick/followers","following_url":"https://api.github.com/users/dimarick/following{/other_user}","gists_url":"https://api.github.com/users/dimarick/gists{/gist_id}","starred_url":"https://api.github.com/users/dimarick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimarick/subscriptions","organizations_url":"https://api.github.com/users/dimarick/orgs","repos_url":"https://api.github.com/users/dimarick/repos","events_url":"https://api.github.com/users/dimarick/events{/privacy}","received_events_url":"https://api.github.com/users/dimarick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimarick/test_review","description":null,"fork":false,"url":"https://api.github.com/repos/dimarick/test_review","forks_url":"https://api.github.com/repos/dimarick/test_review/forks","keys_url":"https://api.github.com/repos/dimarick/test_review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimarick/test_review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimarick/test_review/teams","hooks_url":"https://api.github.com/repos/dimarick/test_review/hooks","issue_events_url":"https://api.github.com/repos/dimarick/test_review/issues/events{/number}","events_url":"https://api.github.com/repos/dimarick/test_review/events","assignees_url":"https://api.github.com/repos/dimarick/test_review/assignees{/user}","branches_url":"https://api.github.com/repos/dimarick/test_review/branches{/branch}","tags_url":"https://api.github.com/repos/dimarick/test_review/tags","blobs_url":"https://api.github.com/repos/dimarick/test_review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimarick/test_review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimarick/test_review/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimarick/test_review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimarick/test_review/statuses/{sha}","languages_url":"https://api.github.com/repos/dimarick/test_review/languages","stargazers_url":"https://api.github.com/repos/dimarick/test_review/stargazers","contributors_url":"https://api.github.com/repos/dimarick/test_review/contributors","subscribers_url":"https://api.github.com/repos/dimarick/test_review/subscribers","subscription_url":"https://api.github.com/repos/dimarick/test_review/subscription","commits_url":"https://api.github.com/repos/dimarick/test_review/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimarick/test_review/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimarick/test_review/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimarick/test_review/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimarick/test_review/contents/{+path}","compare_url":"https://api.github.com/repos/dimarick/test_review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimarick/test_review/merges","archive_url":"https://api.github.com/repos/dimarick/test_review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimarick/test_review/downloads","issues_url":"https://api.github.com/repos/dimarick/test_review/issues{/number}","pulls_url":"https://api.github.com/repos/dimarick/test_review/pulls{/number}","milestones_url":"https://api.github.com/repos/dimarick/test_review/milestones{/number}","notifications_url":"https://api.github.com/repos/dimarick/test_review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimarick/test_review/labels{/name}","releases_url":"https://api.github.com/repos/dimarick/test_review/releases{/id}","deployments_url":"https://api.github.com/repos/dimarick/test_review/deployments","created_at":"2018-07-10T07:20:57Z","updated_at":"2018-07-10T07:24:22Z","pushed_at":"2018-07-10T07:30:57Z","git_url":"git://github.com/dimarick/test_review.git","ssh_url":"git@github.com:dimarick/test_review.git","clone_url":"https://github.com/dimarick/test_review.git","svn_url":"https://github.com/dimarick/test_review","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/1"},"html":{"href":"https://github.com/dimarick/test_review/pull/1"},"issue":{"href":"https://api.github.com/repos/dimarick/test_review/issues/1"},"comments":{"href":"https://api.github.com/repos/dimarick/test_review/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimarick/test_review/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dimarick/test_review/statuses/7521ab7cefd2b4c05cd97206679404b5599a86bc"}},"author_association":"OWNER"}}
{"actor":{"display_login":"dimarick"}}