{"action":"created","comment":{"url":"https://api.github.com/repos/phpstan/phpstan/pulls/comments/98741439","pull_request_review_id":19392619,"id":98741439,"diff_hunk":"@@ -47,6 +47,14 @@ private function getUsedVariables($node): array\n \t\t\tif ($node instanceof Node\\Expr\\ClosureUse) {\n \t\t\t\treturn [$node->var];\n \t\t\t}\n+\t\t\tif ($node instanceof Node\\Expr\\FuncCall","path":"src/Rules/UnusedFunctionParametersCheck.php","position":4,"original_position":4,"commit_id":"b4c50b50f25d9944e2b11ef85b0a6c28a637d35f","original_commit_id":"77d58419141d086edd818821949f13765f00fea6","user":{"login":"ondrejmirtes","id":104888,"avatar_url":"https://avatars.githubusercontent.com/u/104888?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejmirtes","html_url":"https://github.com/ondrejmirtes","followers_url":"https://api.github.com/users/ondrejmirtes/followers","following_url":"https://api.github.com/users/ondrejmirtes/following{/other_user}","gists_url":"https://api.github.com/users/ondrejmirtes/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejmirtes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejmirtes/subscriptions","organizations_url":"https://api.github.com/users/ondrejmirtes/orgs","repos_url":"https://api.github.com/users/ondrejmirtes/repos","events_url":"https://api.github.com/users/ondrejmirtes/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejmirtes/received_events","type":"User","site_admin":false},"body":"OK, so check that please. We have to make sure that we're not comparing a different object to string (there can also be `Expr`).","created_at":"2017-01-31T18:49:56Z","updated_at":"2017-01-31T18:49:56Z","html_url":"https://github.com/phpstan/phpstan/pull/121#discussion_r98741439","pull_request_url":"https://api.github.com/repos/phpstan/phpstan/pulls/121","_links":{"self":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/comments/98741439"},"html":{"href":"https://github.com/phpstan/phpstan/pull/121#discussion_r98741439"},"pull_request":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/phpstan/phpstan/pulls/121","id":103932867,"html_url":"https://github.com/phpstan/phpstan/pull/121","diff_url":"https://github.com/phpstan/phpstan/pull/121.diff","patch_url":"https://github.com/phpstan/phpstan/pull/121.patch","issue_url":"https://api.github.com/repos/phpstan/phpstan/issues/121","number":121,"state":"open","locked":false,"title":"Added check for use within compact() call","user":{"login":"cinamo","id":7139230,"avatar_url":"https://avatars.githubusercontent.com/u/7139230?v=3","gravatar_id":"","url":"https://api.github.com/users/cinamo","html_url":"https://github.com/cinamo","followers_url":"https://api.github.com/users/cinamo/followers","following_url":"https://api.github.com/users/cinamo/following{/other_user}","gists_url":"https://api.github.com/users/cinamo/gists{/gist_id}","starred_url":"https://api.github.com/users/cinamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinamo/subscriptions","organizations_url":"https://api.github.com/users/cinamo/orgs","repos_url":"https://api.github.com/users/cinamo/repos","events_url":"https://api.github.com/users/cinamo/events{/privacy}","received_events_url":"https://api.github.com/users/cinamo/received_events","type":"User","site_admin":false},"body":"Fixes #120 ","created_at":"2017-01-31T13:12:47Z","updated_at":"2017-01-31T18:49:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a9ef29d6266207315cf8d48648c698a3e2c7035","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/phpstan/phpstan/pulls/121/commits","review_comments_url":"https://api.github.com/repos/phpstan/phpstan/pulls/121/comments","review_comment_url":"https://api.github.com/repos/phpstan/phpstan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpstan/phpstan/issues/121/comments","statuses_url":"https://api.github.com/repos/phpstan/phpstan/statuses/b4c50b50f25d9944e2b11ef85b0a6c28a637d35f","head":{"label":"cinamo:master","ref":"master","sha":"b4c50b50f25d9944e2b11ef85b0a6c28a637d35f","user":{"login":"cinamo","id":7139230,"avatar_url":"https://avatars.githubusercontent.com/u/7139230?v=3","gravatar_id":"","url":"https://api.github.com/users/cinamo","html_url":"https://github.com/cinamo","followers_url":"https://api.github.com/users/cinamo/followers","following_url":"https://api.github.com/users/cinamo/following{/other_user}","gists_url":"https://api.github.com/users/cinamo/gists{/gist_id}","starred_url":"https://api.github.com/users/cinamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinamo/subscriptions","organizations_url":"https://api.github.com/users/cinamo/orgs","repos_url":"https://api.github.com/users/cinamo/repos","events_url":"https://api.github.com/users/cinamo/events{/privacy}","received_events_url":"https://api.github.com/users/cinamo/received_events","type":"User","site_admin":false},"repo":{"id":80521303,"name":"phpstan","full_name":"cinamo/phpstan","owner":{"login":"cinamo","id":7139230,"avatar_url":"https://avatars.githubusercontent.com/u/7139230?v=3","gravatar_id":"","url":"https://api.github.com/users/cinamo","html_url":"https://github.com/cinamo","followers_url":"https://api.github.com/users/cinamo/followers","following_url":"https://api.github.com/users/cinamo/following{/other_user}","gists_url":"https://api.github.com/users/cinamo/gists{/gist_id}","starred_url":"https://api.github.com/users/cinamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinamo/subscriptions","organizations_url":"https://api.github.com/users/cinamo/orgs","repos_url":"https://api.github.com/users/cinamo/repos","events_url":"https://api.github.com/users/cinamo/events{/privacy}","received_events_url":"https://api.github.com/users/cinamo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cinamo/phpstan","description":"PHP Static Analysis Tool - discover bugs in your code without running it!","fork":true,"url":"https://api.github.com/repos/cinamo/phpstan","forks_url":"https://api.github.com/repos/cinamo/phpstan/forks","keys_url":"https://api.github.com/repos/cinamo/phpstan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cinamo/phpstan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cinamo/phpstan/teams","hooks_url":"https://api.github.com/repos/cinamo/phpstan/hooks","issue_events_url":"https://api.github.com/repos/cinamo/phpstan/issues/events{/number}","events_url":"https://api.github.com/repos/cinamo/phpstan/events","assignees_url":"https://api.github.com/repos/cinamo/phpstan/assignees{/user}","branches_url":"https://api.github.com/repos/cinamo/phpstan/branches{/branch}","tags_url":"https://api.github.com/repos/cinamo/phpstan/tags","blobs_url":"https://api.github.com/repos/cinamo/phpstan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cinamo/phpstan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cinamo/phpstan/git/refs{/sha}","trees_url":"https://api.github.com/repos/cinamo/phpstan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cinamo/phpstan/statuses/{sha}","languages_url":"https://api.github.com/repos/cinamo/phpstan/languages","stargazers_url":"https://api.github.com/repos/cinamo/phpstan/stargazers","contributors_url":"https://api.github.com/repos/cinamo/phpstan/contributors","subscribers_url":"https://api.github.com/repos/cinamo/phpstan/subscribers","subscription_url":"https://api.github.com/repos/cinamo/phpstan/subscription","commits_url":"https://api.github.com/repos/cinamo/phpstan/commits{/sha}","git_commits_url":"https://api.github.com/repos/cinamo/phpstan/git/commits{/sha}","comments_url":"https://api.github.com/repos/cinamo/phpstan/comments{/number}","issue_comment_url":"https://api.github.com/repos/cinamo/phpstan/issues/comments{/number}","contents_url":"https://api.github.com/repos/cinamo/phpstan/contents/{+path}","compare_url":"https://api.github.com/repos/cinamo/phpstan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cinamo/phpstan/merges","archive_url":"https://api.github.com/repos/cinamo/phpstan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cinamo/phpstan/downloads","issues_url":"https://api.github.com/repos/cinamo/phpstan/issues{/number}","pulls_url":"https://api.github.com/repos/cinamo/phpstan/pulls{/number}","milestones_url":"https://api.github.com/repos/cinamo/phpstan/milestones{/number}","notifications_url":"https://api.github.com/repos/cinamo/phpstan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cinamo/phpstan/labels{/name}","releases_url":"https://api.github.com/repos/cinamo/phpstan/releases{/id}","deployments_url":"https://api.github.com/repos/cinamo/phpstan/deployments","created_at":"2017-01-31T13:08:36Z","updated_at":"2017-01-31T13:08:38Z","pushed_at":"2017-01-31T18:42:52Z","git_url":"git://github.com/cinamo/phpstan.git","ssh_url":"git@github.com:cinamo/phpstan.git","clone_url":"https://github.com/cinamo/phpstan.git","svn_url":"https://github.com/cinamo/phpstan","homepage":"","size":866,"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":"phpstan:master","ref":"master","sha":"ec69763f958f4f0281cc58483f0a1f498ce33b6a","user":{"login":"phpstan","id":16435710,"avatar_url":"https://avatars.githubusercontent.com/u/16435710?v=3","gravatar_id":"","url":"https://api.github.com/users/phpstan","html_url":"https://github.com/phpstan","followers_url":"https://api.github.com/users/phpstan/followers","following_url":"https://api.github.com/users/phpstan/following{/other_user}","gists_url":"https://api.github.com/users/phpstan/gists{/gist_id}","starred_url":"https://api.github.com/users/phpstan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpstan/subscriptions","organizations_url":"https://api.github.com/users/phpstan/orgs","repos_url":"https://api.github.com/users/phpstan/repos","events_url":"https://api.github.com/users/phpstan/events{/privacy}","received_events_url":"https://api.github.com/users/phpstan/received_events","type":"Organization","site_admin":false},"repo":{"id":49014795,"name":"phpstan","full_name":"phpstan/phpstan","owner":{"login":"phpstan","id":16435710,"avatar_url":"https://avatars.githubusercontent.com/u/16435710?v=3","gravatar_id":"","url":"https://api.github.com/users/phpstan","html_url":"https://github.com/phpstan","followers_url":"https://api.github.com/users/phpstan/followers","following_url":"https://api.github.com/users/phpstan/following{/other_user}","gists_url":"https://api.github.com/users/phpstan/gists{/gist_id}","starred_url":"https://api.github.com/users/phpstan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpstan/subscriptions","organizations_url":"https://api.github.com/users/phpstan/orgs","repos_url":"https://api.github.com/users/phpstan/repos","events_url":"https://api.github.com/users/phpstan/events{/privacy}","received_events_url":"https://api.github.com/users/phpstan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpstan/phpstan","description":"PHP Static Analysis Tool - discover bugs in your code without running it!","fork":false,"url":"https://api.github.com/repos/phpstan/phpstan","forks_url":"https://api.github.com/repos/phpstan/phpstan/forks","keys_url":"https://api.github.com/repos/phpstan/phpstan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpstan/phpstan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpstan/phpstan/teams","hooks_url":"https://api.github.com/repos/phpstan/phpstan/hooks","issue_events_url":"https://api.github.com/repos/phpstan/phpstan/issues/events{/number}","events_url":"https://api.github.com/repos/phpstan/phpstan/events","assignees_url":"https://api.github.com/repos/phpstan/phpstan/assignees{/user}","branches_url":"https://api.github.com/repos/phpstan/phpstan/branches{/branch}","tags_url":"https://api.github.com/repos/phpstan/phpstan/tags","blobs_url":"https://api.github.com/repos/phpstan/phpstan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpstan/phpstan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpstan/phpstan/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpstan/phpstan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpstan/phpstan/statuses/{sha}","languages_url":"https://api.github.com/repos/phpstan/phpstan/languages","stargazers_url":"https://api.github.com/repos/phpstan/phpstan/stargazers","contributors_url":"https://api.github.com/repos/phpstan/phpstan/contributors","subscribers_url":"https://api.github.com/repos/phpstan/phpstan/subscribers","subscription_url":"https://api.github.com/repos/phpstan/phpstan/subscription","commits_url":"https://api.github.com/repos/phpstan/phpstan/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpstan/phpstan/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpstan/phpstan/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpstan/phpstan/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpstan/phpstan/contents/{+path}","compare_url":"https://api.github.com/repos/phpstan/phpstan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpstan/phpstan/merges","archive_url":"https://api.github.com/repos/phpstan/phpstan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpstan/phpstan/downloads","issues_url":"https://api.github.com/repos/phpstan/phpstan/issues{/number}","pulls_url":"https://api.github.com/repos/phpstan/phpstan/pulls{/number}","milestones_url":"https://api.github.com/repos/phpstan/phpstan/milestones{/number}","notifications_url":"https://api.github.com/repos/phpstan/phpstan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpstan/phpstan/labels{/name}","releases_url":"https://api.github.com/repos/phpstan/phpstan/releases{/id}","deployments_url":"https://api.github.com/repos/phpstan/phpstan/deployments","created_at":"2016-01-04T18:22:16Z","updated_at":"2017-01-31T16:01:44Z","pushed_at":"2017-01-31T18:42:53Z","git_url":"git://github.com/phpstan/phpstan.git","ssh_url":"git@github.com:phpstan/phpstan.git","clone_url":"https://github.com/phpstan/phpstan.git","svn_url":"https://github.com/phpstan/phpstan","homepage":"","size":862,"stargazers_count":819,"watchers_count":819,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":18,"forks":42,"open_issues":18,"watchers":819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/121"},"html":{"href":"https://github.com/phpstan/phpstan/pull/121"},"issue":{"href":"https://api.github.com/repos/phpstan/phpstan/issues/121"},"comments":{"href":"https://api.github.com/repos/phpstan/phpstan/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpstan/phpstan/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/phpstan/phpstan/statuses/b4c50b50f25d9944e2b11ef85b0a6c28a637d35f"}}}}
{"actor":{"display_login":"ondrejmirtes"}}