{"action":"opened","number":197,"pull_request":{"url":"https://api.github.com/repos/ovr/phpsa/pulls/197","id":88309291,"html_url":"https://github.com/ovr/phpsa/pull/197","diff_url":"https://github.com/ovr/phpsa/pull/197.diff","patch_url":"https://github.com/ovr/phpsa/pull/197.patch","issue_url":"https://api.github.com/repos/ovr/phpsa/issues/197","number":197,"state":"open","locked":false,"title":"ClassDefinition: tests, fixes, code improvements.","user":{"login":"yyaremenko","id":3949304,"avatar_url":"https://avatars.githubusercontent.com/u/3949304?v=3","gravatar_id":"","url":"https://api.github.com/users/yyaremenko","html_url":"https://github.com/yyaremenko","followers_url":"https://api.github.com/users/yyaremenko/followers","following_url":"https://api.github.com/users/yyaremenko/following{/other_user}","gists_url":"https://api.github.com/users/yyaremenko/gists{/gist_id}","starred_url":"https://api.github.com/users/yyaremenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyaremenko/subscriptions","organizations_url":"https://api.github.com/users/yyaremenko/orgs","repos_url":"https://api.github.com/users/yyaremenko/repos","events_url":"https://api.github.com/users/yyaremenko/events{/privacy}","received_events_url":"https://api.github.com/users/yyaremenko/received_events","type":"User","site_admin":false},"body":"Hey!\r\n\r\nType: bug fix | code quality \r\n\r\nLink to issue: #168 \r\n\r\nThis pull request affects the following components **(please check boxes):**\r\n\r\n* [ ] Core\r\n* [ ] Analyzer\r\n* [ ] Compiler\r\n* [ ] Control Flow Graph\r\n* [ ] Documentation\r\n(sorry, not sure what to check - I guess non of these?)\r\n\r\n**In raising this pull request, I confirm the following (please check boxes):**\r\n\r\n- [x] I have read and understood the [Contributing Guidelines](https://github.com/ovr/phpsa/blob/master/.github/CONTRIBUTING.md).\r\n- [x] I have checked that another pull request for this purpose does not exist.\r\n- [x] I wrote some tests for this PR.\r\n\r\nSmall description of change:\r\n- improved, added test for ClassDefinition\r\n- improved some code readability for ClassDefinition\r\n- made several tiny fixes\r\n\r\nThanks\r\n\r\n","created_at":"2016-10-06T17:49:57Z","updated_at":"2016-10-06T17:49:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ovr/phpsa/pulls/197/commits","review_comments_url":"https://api.github.com/repos/ovr/phpsa/pulls/197/comments","review_comment_url":"https://api.github.com/repos/ovr/phpsa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ovr/phpsa/issues/197/comments","statuses_url":"https://api.github.com/repos/ovr/phpsa/statuses/88ef2b9fc365d41835aac775e66684f531c80c98","head":{"label":"yyaremenko:Issue-168_Add_definition_tests","ref":"Issue-168_Add_definition_tests","sha":"88ef2b9fc365d41835aac775e66684f531c80c98","user":{"login":"yyaremenko","id":3949304,"avatar_url":"https://avatars.githubusercontent.com/u/3949304?v=3","gravatar_id":"","url":"https://api.github.com/users/yyaremenko","html_url":"https://github.com/yyaremenko","followers_url":"https://api.github.com/users/yyaremenko/followers","following_url":"https://api.github.com/users/yyaremenko/following{/other_user}","gists_url":"https://api.github.com/users/yyaremenko/gists{/gist_id}","starred_url":"https://api.github.com/users/yyaremenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyaremenko/subscriptions","organizations_url":"https://api.github.com/users/yyaremenko/orgs","repos_url":"https://api.github.com/users/yyaremenko/repos","events_url":"https://api.github.com/users/yyaremenko/events{/privacy}","received_events_url":"https://api.github.com/users/yyaremenko/received_events","type":"User","site_admin":false},"repo":{"id":70072048,"name":"phpsa","full_name":"yyaremenko/phpsa","owner":{"login":"yyaremenko","id":3949304,"avatar_url":"https://avatars.githubusercontent.com/u/3949304?v=3","gravatar_id":"","url":"https://api.github.com/users/yyaremenko","html_url":"https://github.com/yyaremenko","followers_url":"https://api.github.com/users/yyaremenko/followers","following_url":"https://api.github.com/users/yyaremenko/following{/other_user}","gists_url":"https://api.github.com/users/yyaremenko/gists{/gist_id}","starred_url":"https://api.github.com/users/yyaremenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyaremenko/subscriptions","organizations_url":"https://api.github.com/users/yyaremenko/orgs","repos_url":"https://api.github.com/users/yyaremenko/repos","events_url":"https://api.github.com/users/yyaremenko/events{/privacy}","received_events_url":"https://api.github.com/users/yyaremenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yyaremenko/phpsa","description":"Smart Analysis for PHP :bowtie::neckbeard:","fork":true,"url":"https://api.github.com/repos/yyaremenko/phpsa","forks_url":"https://api.github.com/repos/yyaremenko/phpsa/forks","keys_url":"https://api.github.com/repos/yyaremenko/phpsa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yyaremenko/phpsa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yyaremenko/phpsa/teams","hooks_url":"https://api.github.com/repos/yyaremenko/phpsa/hooks","issue_events_url":"https://api.github.com/repos/yyaremenko/phpsa/issues/events{/number}","events_url":"https://api.github.com/repos/yyaremenko/phpsa/events","assignees_url":"https://api.github.com/repos/yyaremenko/phpsa/assignees{/user}","branches_url":"https://api.github.com/repos/yyaremenko/phpsa/branches{/branch}","tags_url":"https://api.github.com/repos/yyaremenko/phpsa/tags","blobs_url":"https://api.github.com/repos/yyaremenko/phpsa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yyaremenko/phpsa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yyaremenko/phpsa/git/refs{/sha}","trees_url":"https://api.github.com/repos/yyaremenko/phpsa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yyaremenko/phpsa/statuses/{sha}","languages_url":"https://api.github.com/repos/yyaremenko/phpsa/languages","stargazers_url":"https://api.github.com/repos/yyaremenko/phpsa/stargazers","contributors_url":"https://api.github.com/repos/yyaremenko/phpsa/contributors","subscribers_url":"https://api.github.com/repos/yyaremenko/phpsa/subscribers","subscription_url":"https://api.github.com/repos/yyaremenko/phpsa/subscription","commits_url":"https://api.github.com/repos/yyaremenko/phpsa/commits{/sha}","git_commits_url":"https://api.github.com/repos/yyaremenko/phpsa/git/commits{/sha}","comments_url":"https://api.github.com/repos/yyaremenko/phpsa/comments{/number}","issue_comment_url":"https://api.github.com/repos/yyaremenko/phpsa/issues/comments{/number}","contents_url":"https://api.github.com/repos/yyaremenko/phpsa/contents/{+path}","compare_url":"https://api.github.com/repos/yyaremenko/phpsa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yyaremenko/phpsa/merges","archive_url":"https://api.github.com/repos/yyaremenko/phpsa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yyaremenko/phpsa/downloads","issues_url":"https://api.github.com/repos/yyaremenko/phpsa/issues{/number}","pulls_url":"https://api.github.com/repos/yyaremenko/phpsa/pulls{/number}","milestones_url":"https://api.github.com/repos/yyaremenko/phpsa/milestones{/number}","notifications_url":"https://api.github.com/repos/yyaremenko/phpsa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yyaremenko/phpsa/labels{/name}","releases_url":"https://api.github.com/repos/yyaremenko/phpsa/releases{/id}","deployments_url":"https://api.github.com/repos/yyaremenko/phpsa/deployments","created_at":"2016-10-05T15:11:24Z","updated_at":"2016-10-05T15:11:25Z","pushed_at":"2016-10-06T17:44:09Z","git_url":"git://github.com/yyaremenko/phpsa.git","ssh_url":"git@github.com:yyaremenko/phpsa.git","clone_url":"https://github.com/yyaremenko/phpsa.git","svn_url":"https://github.com/yyaremenko/phpsa","homepage":"https://phpsa.dmtry.me/","size":1231,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ovr:master","ref":"master","sha":"d4acb3f2c558f2ca692dce18b26c27a09c39f1b3","user":{"login":"ovr","id":572096,"avatar_url":"https://avatars.githubusercontent.com/u/572096?v=3","gravatar_id":"","url":"https://api.github.com/users/ovr","html_url":"https://github.com/ovr","followers_url":"https://api.github.com/users/ovr/followers","following_url":"https://api.github.com/users/ovr/following{/other_user}","gists_url":"https://api.github.com/users/ovr/gists{/gist_id}","starred_url":"https://api.github.com/users/ovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovr/subscriptions","organizations_url":"https://api.github.com/users/ovr/orgs","repos_url":"https://api.github.com/users/ovr/repos","events_url":"https://api.github.com/users/ovr/events{/privacy}","received_events_url":"https://api.github.com/users/ovr/received_events","type":"User","site_admin":false},"repo":{"id":37760247,"name":"phpsa","full_name":"ovr/phpsa","owner":{"login":"ovr","id":572096,"avatar_url":"https://avatars.githubusercontent.com/u/572096?v=3","gravatar_id":"","url":"https://api.github.com/users/ovr","html_url":"https://github.com/ovr","followers_url":"https://api.github.com/users/ovr/followers","following_url":"https://api.github.com/users/ovr/following{/other_user}","gists_url":"https://api.github.com/users/ovr/gists{/gist_id}","starred_url":"https://api.github.com/users/ovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovr/subscriptions","organizations_url":"https://api.github.com/users/ovr/orgs","repos_url":"https://api.github.com/users/ovr/repos","events_url":"https://api.github.com/users/ovr/events{/privacy}","received_events_url":"https://api.github.com/users/ovr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ovr/phpsa","description":"Smart Analysis for PHP :bowtie::neckbeard:","fork":false,"url":"https://api.github.com/repos/ovr/phpsa","forks_url":"https://api.github.com/repos/ovr/phpsa/forks","keys_url":"https://api.github.com/repos/ovr/phpsa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovr/phpsa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovr/phpsa/teams","hooks_url":"https://api.github.com/repos/ovr/phpsa/hooks","issue_events_url":"https://api.github.com/repos/ovr/phpsa/issues/events{/number}","events_url":"https://api.github.com/repos/ovr/phpsa/events","assignees_url":"https://api.github.com/repos/ovr/phpsa/assignees{/user}","branches_url":"https://api.github.com/repos/ovr/phpsa/branches{/branch}","tags_url":"https://api.github.com/repos/ovr/phpsa/tags","blobs_url":"https://api.github.com/repos/ovr/phpsa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovr/phpsa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovr/phpsa/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovr/phpsa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovr/phpsa/statuses/{sha}","languages_url":"https://api.github.com/repos/ovr/phpsa/languages","stargazers_url":"https://api.github.com/repos/ovr/phpsa/stargazers","contributors_url":"https://api.github.com/repos/ovr/phpsa/contributors","subscribers_url":"https://api.github.com/repos/ovr/phpsa/subscribers","subscription_url":"https://api.github.com/repos/ovr/phpsa/subscription","commits_url":"https://api.github.com/repos/ovr/phpsa/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovr/phpsa/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovr/phpsa/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovr/phpsa/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovr/phpsa/contents/{+path}","compare_url":"https://api.github.com/repos/ovr/phpsa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovr/phpsa/merges","archive_url":"https://api.github.com/repos/ovr/phpsa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovr/phpsa/downloads","issues_url":"https://api.github.com/repos/ovr/phpsa/issues{/number}","pulls_url":"https://api.github.com/repos/ovr/phpsa/pulls{/number}","milestones_url":"https://api.github.com/repos/ovr/phpsa/milestones{/number}","notifications_url":"https://api.github.com/repos/ovr/phpsa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovr/phpsa/labels{/name}","releases_url":"https://api.github.com/repos/ovr/phpsa/releases{/id}","deployments_url":"https://api.github.com/repos/ovr/phpsa/deployments","created_at":"2015-06-20T06:24:46Z","updated_at":"2016-10-06T15:33:36Z","pushed_at":"2016-10-06T17:49:57Z","git_url":"git://github.com/ovr/phpsa.git","ssh_url":"git@github.com:ovr/phpsa.git","clone_url":"https://github.com/ovr/phpsa.git","svn_url":"https://github.com/ovr/phpsa","homepage":"https://phpsa.dmtry.me/","size":1400,"stargazers_count":518,"watchers_count":518,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":68,"forks":26,"open_issues":68,"watchers":518,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ovr/phpsa/pulls/197"},"html":{"href":"https://github.com/ovr/phpsa/pull/197"},"issue":{"href":"https://api.github.com/repos/ovr/phpsa/issues/197"},"comments":{"href":"https://api.github.com/repos/ovr/phpsa/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/ovr/phpsa/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/ovr/phpsa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ovr/phpsa/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/ovr/phpsa/statuses/88ef2b9fc365d41835aac775e66684f531c80c98"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":363,"deletions":192,"changed_files":6}}
{"actor":{"display_login":"yyaremenko"}}