{"action":"closed","number":2247,"pull_request":{"url":"https://api.github.com/repos/phan/phan/pulls/2247","id":240652999,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjUyOTk5","html_url":"https://github.com/phan/phan/pull/2247","diff_url":"https://github.com/phan/phan/pull/2247.diff","patch_url":"https://github.com/phan/phan/pull/2247.patch","issue_url":"https://api.github.com/repos/phan/phan/issues/2247","number":2247,"state":"closed","locked":false,"title":"Improve inferred return types in language server/daemon mode.","user":{"login":"TysonAndre","id":1904430,"node_id":"MDQ6VXNlcjE5MDQ0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1904430?v=4","gravatar_id":"","url":"https://api.github.com/users/TysonAndre","html_url":"https://github.com/TysonAndre","followers_url":"https://api.github.com/users/TysonAndre/followers","following_url":"https://api.github.com/users/TysonAndre/following{/other_user}","gists_url":"https://api.github.com/users/TysonAndre/gists{/gist_id}","starred_url":"https://api.github.com/users/TysonAndre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TysonAndre/subscriptions","organizations_url":"https://api.github.com/users/TysonAndre/orgs","repos_url":"https://api.github.com/users/TysonAndre/repos","events_url":"https://api.github.com/users/TysonAndre/events{/privacy}","received_events_url":"https://api.github.com/users/TysonAndre/received_events","type":"User","site_admin":false},"body":"Before, `array|T[]` would be inferred for a function returning an array\r\nand declaring `T[]` as the return type.\r\nThis would lead to more false positives (and some false negatives)\r\nin daemon mode/the language server. This fixes that.","created_at":"2018-12-22T20:47:49Z","updated_at":"2018-12-22T20:51:02Z","closed_at":"2018-12-22T20:51:02Z","merged_at":"2018-12-22T20:51:02Z","merge_commit_sha":"d547bf54e6c57ce63866a5dcc16923dcca9dfe22","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/phan/phan/pulls/2247/commits","review_comments_url":"https://api.github.com/repos/phan/phan/pulls/2247/comments","review_comment_url":"https://api.github.com/repos/phan/phan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phan/phan/issues/2247/comments","statuses_url":"https://api.github.com/repos/phan/phan/statuses/ada166eca0063b9d633b5e9b127ae4c0abe1eb94","head":{"label":"TysonAndre:improve-non-analyzed-file-analysis","ref":"improve-non-analyzed-file-analysis","sha":"ada166eca0063b9d633b5e9b127ae4c0abe1eb94","user":{"login":"TysonAndre","id":1904430,"node_id":"MDQ6VXNlcjE5MDQ0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1904430?v=4","gravatar_id":"","url":"https://api.github.com/users/TysonAndre","html_url":"https://github.com/TysonAndre","followers_url":"https://api.github.com/users/TysonAndre/followers","following_url":"https://api.github.com/users/TysonAndre/following{/other_user}","gists_url":"https://api.github.com/users/TysonAndre/gists{/gist_id}","starred_url":"https://api.github.com/users/TysonAndre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TysonAndre/subscriptions","organizations_url":"https://api.github.com/users/TysonAndre/orgs","repos_url":"https://api.github.com/users/TysonAndre/repos","events_url":"https://api.github.com/users/TysonAndre/events{/privacy}","received_events_url":"https://api.github.com/users/TysonAndre/received_events","type":"User","site_admin":false},"repo":{"id":70954730,"node_id":"MDEwOlJlcG9zaXRvcnk3MDk1NDczMA==","name":"phan","full_name":"TysonAndre/phan","private":false,"owner":{"login":"TysonAndre","id":1904430,"node_id":"MDQ6VXNlcjE5MDQ0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1904430?v=4","gravatar_id":"","url":"https://api.github.com/users/TysonAndre","html_url":"https://github.com/TysonAndre","followers_url":"https://api.github.com/users/TysonAndre/followers","following_url":"https://api.github.com/users/TysonAndre/following{/other_user}","gists_url":"https://api.github.com/users/TysonAndre/gists{/gist_id}","starred_url":"https://api.github.com/users/TysonAndre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TysonAndre/subscriptions","organizations_url":"https://api.github.com/users/TysonAndre/orgs","repos_url":"https://api.github.com/users/TysonAndre/repos","events_url":"https://api.github.com/users/TysonAndre/events{/privacy}","received_events_url":"https://api.github.com/users/TysonAndre/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TysonAndre/phan","description":"Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.","fork":true,"url":"https://api.github.com/repos/TysonAndre/phan","forks_url":"https://api.github.com/repos/TysonAndre/phan/forks","keys_url":"https://api.github.com/repos/TysonAndre/phan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TysonAndre/phan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TysonAndre/phan/teams","hooks_url":"https://api.github.com/repos/TysonAndre/phan/hooks","issue_events_url":"https://api.github.com/repos/TysonAndre/phan/issues/events{/number}","events_url":"https://api.github.com/repos/TysonAndre/phan/events","assignees_url":"https://api.github.com/repos/TysonAndre/phan/assignees{/user}","branches_url":"https://api.github.com/repos/TysonAndre/phan/branches{/branch}","tags_url":"https://api.github.com/repos/TysonAndre/phan/tags","blobs_url":"https://api.github.com/repos/TysonAndre/phan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TysonAndre/phan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TysonAndre/phan/git/refs{/sha}","trees_url":"https://api.github.com/repos/TysonAndre/phan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TysonAndre/phan/statuses/{sha}","languages_url":"https://api.github.com/repos/TysonAndre/phan/languages","stargazers_url":"https://api.github.com/repos/TysonAndre/phan/stargazers","contributors_url":"https://api.github.com/repos/TysonAndre/phan/contributors","subscribers_url":"https://api.github.com/repos/TysonAndre/phan/subscribers","subscription_url":"https://api.github.com/repos/TysonAndre/phan/subscription","commits_url":"https://api.github.com/repos/TysonAndre/phan/commits{/sha}","git_commits_url":"https://api.github.com/repos/TysonAndre/phan/git/commits{/sha}","comments_url":"https://api.github.com/repos/TysonAndre/phan/comments{/number}","issue_comment_url":"https://api.github.com/repos/TysonAndre/phan/issues/comments{/number}","contents_url":"https://api.github.com/repos/TysonAndre/phan/contents/{+path}","compare_url":"https://api.github.com/repos/TysonAndre/phan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TysonAndre/phan/merges","archive_url":"https://api.github.com/repos/TysonAndre/phan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TysonAndre/phan/downloads","issues_url":"https://api.github.com/repos/TysonAndre/phan/issues{/number}","pulls_url":"https://api.github.com/repos/TysonAndre/phan/pulls{/number}","milestones_url":"https://api.github.com/repos/TysonAndre/phan/milestones{/number}","notifications_url":"https://api.github.com/repos/TysonAndre/phan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TysonAndre/phan/labels{/name}","releases_url":"https://api.github.com/repos/TysonAndre/phan/releases{/id}","deployments_url":"https://api.github.com/repos/TysonAndre/phan/deployments","created_at":"2016-10-14T23:47:13Z","updated_at":"2018-12-17T22:47:00Z","pushed_at":"2018-12-22T20:47:35Z","git_url":"git://github.com/TysonAndre/phan.git","ssh_url":"git@github.com:TysonAndre/phan.git","clone_url":"https://github.com/TysonAndre/phan.git","svn_url":"https://github.com/TysonAndre/phan","homepage":"","size":19474,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":97,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":97,"watchers":0,"default_branch":"master"}},"base":{"label":"phan:master","ref":"master","sha":"62b76fdfeecb97b6f4feabbf2041a22d2ef76f4b","user":{"login":"phan","id":31359272,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzU5Mjcy","avatar_url":"https://avatars2.githubusercontent.com/u/31359272?v=4","gravatar_id":"","url":"https://api.github.com/users/phan","html_url":"https://github.com/phan","followers_url":"https://api.github.com/users/phan/followers","following_url":"https://api.github.com/users/phan/following{/other_user}","gists_url":"https://api.github.com/users/phan/gists{/gist_id}","starred_url":"https://api.github.com/users/phan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phan/subscriptions","organizations_url":"https://api.github.com/users/phan/orgs","repos_url":"https://api.github.com/users/phan/repos","events_url":"https://api.github.com/users/phan/events{/privacy}","received_events_url":"https://api.github.com/users/phan/received_events","type":"Organization","site_admin":false},"repo":{"id":44751102,"node_id":"MDEwOlJlcG9zaXRvcnk0NDc1MTEwMg==","name":"phan","full_name":"phan/phan","private":false,"owner":{"login":"phan","id":31359272,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzU5Mjcy","avatar_url":"https://avatars2.githubusercontent.com/u/31359272?v=4","gravatar_id":"","url":"https://api.github.com/users/phan","html_url":"https://github.com/phan","followers_url":"https://api.github.com/users/phan/followers","following_url":"https://api.github.com/users/phan/following{/other_user}","gists_url":"https://api.github.com/users/phan/gists{/gist_id}","starred_url":"https://api.github.com/users/phan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phan/subscriptions","organizations_url":"https://api.github.com/users/phan/orgs","repos_url":"https://api.github.com/users/phan/repos","events_url":"https://api.github.com/users/phan/events{/privacy}","received_events_url":"https://api.github.com/users/phan/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/phan/phan","description":"Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.","fork":false,"url":"https://api.github.com/repos/phan/phan","forks_url":"https://api.github.com/repos/phan/phan/forks","keys_url":"https://api.github.com/repos/phan/phan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phan/phan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phan/phan/teams","hooks_url":"https://api.github.com/repos/phan/phan/hooks","issue_events_url":"https://api.github.com/repos/phan/phan/issues/events{/number}","events_url":"https://api.github.com/repos/phan/phan/events","assignees_url":"https://api.github.com/repos/phan/phan/assignees{/user}","branches_url":"https://api.github.com/repos/phan/phan/branches{/branch}","tags_url":"https://api.github.com/repos/phan/phan/tags","blobs_url":"https://api.github.com/repos/phan/phan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phan/phan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phan/phan/git/refs{/sha}","trees_url":"https://api.github.com/repos/phan/phan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phan/phan/statuses/{sha}","languages_url":"https://api.github.com/repos/phan/phan/languages","stargazers_url":"https://api.github.com/repos/phan/phan/stargazers","contributors_url":"https://api.github.com/repos/phan/phan/contributors","subscribers_url":"https://api.github.com/repos/phan/phan/subscribers","subscription_url":"https://api.github.com/repos/phan/phan/subscription","commits_url":"https://api.github.com/repos/phan/phan/commits{/sha}","git_commits_url":"https://api.github.com/repos/phan/phan/git/commits{/sha}","comments_url":"https://api.github.com/repos/phan/phan/comments{/number}","issue_comment_url":"https://api.github.com/repos/phan/phan/issues/comments{/number}","contents_url":"https://api.github.com/repos/phan/phan/contents/{+path}","compare_url":"https://api.github.com/repos/phan/phan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phan/phan/merges","archive_url":"https://api.github.com/repos/phan/phan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phan/phan/downloads","issues_url":"https://api.github.com/repos/phan/phan/issues{/number}","pulls_url":"https://api.github.com/repos/phan/phan/pulls{/number}","milestones_url":"https://api.github.com/repos/phan/phan/milestones{/number}","notifications_url":"https://api.github.com/repos/phan/phan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phan/phan/labels{/name}","releases_url":"https://api.github.com/repos/phan/phan/releases{/id}","deployments_url":"https://api.github.com/repos/phan/phan/deployments","created_at":"2015-10-22T14:34:09Z","updated_at":"2018-12-22T20:01:15Z","pushed_at":"2018-12-22T20:51:02Z","git_url":"git://github.com/phan/phan.git","ssh_url":"git@github.com:phan/phan.git","clone_url":"https://github.com/phan/phan.git","svn_url":"https://github.com/phan/phan","homepage":"","size":18148,"stargazers_count":3914,"watchers_count":3914,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":249,"mirror_url":null,"archived":false,"open_issues_count":270,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":249,"open_issues":270,"watchers":3914,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phan/phan/pulls/2247"},"html":{"href":"https://github.com/phan/phan/pull/2247"},"issue":{"href":"https://api.github.com/repos/phan/phan/issues/2247"},"comments":{"href":"https://api.github.com/repos/phan/phan/issues/2247/comments"},"review_comments":{"href":"https://api.github.com/repos/phan/phan/pulls/2247/comments"},"review_comment":{"href":"https://api.github.com/repos/phan/phan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phan/phan/pulls/2247/commits"},"statuses":{"href":"https://api.github.com/repos/phan/phan/statuses/ada166eca0063b9d633b5e9b127ae4c0abe1eb94"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"TysonAndre","id":1904430,"node_id":"MDQ6VXNlcjE5MDQ0MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1904430?v=4","gravatar_id":"","url":"https://api.github.com/users/TysonAndre","html_url":"https://github.com/TysonAndre","followers_url":"https://api.github.com/users/TysonAndre/followers","following_url":"https://api.github.com/users/TysonAndre/following{/other_user}","gists_url":"https://api.github.com/users/TysonAndre/gists{/gist_id}","starred_url":"https://api.github.com/users/TysonAndre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TysonAndre/subscriptions","organizations_url":"https://api.github.com/users/TysonAndre/orgs","repos_url":"https://api.github.com/users/TysonAndre/repos","events_url":"https://api.github.com/users/TysonAndre/events{/privacy}","received_events_url":"https://api.github.com/users/TysonAndre/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":189,"deletions":162,"changed_files":8}}
{"actor":{"display_login":"TysonAndre"}}