{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/slang/pulls/comments/195715719","pull_request_review_id":129136178,"id":195715719,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTcxNTcxOQ==","diff_hunk":"@@ -0,0 +1,22 @@\n+void fun fooBar() {}  // OK\n+\n+void fun fooBar(int a) {}  // Noncompliant {{Remove this unused function parameter \"a\".}}\n+//              ^^^^^\n+\n+void fun fooBar(int a, int b) {}  // Noncompliant {{Remove these unused function parameters.}}\n+//              ^^^^^  ^^^^^<\n+\n+void fun fooBar(int a, int b) {   // Noncompliant {{Remove this unused function parameter \"b\".}}\n+//                     ^^^^^\n+  x = a;\n+}\n+\n+void fun fooBar(int a, int b) {   // Noncompliant {{Remove this unused function parameter \"a\".}}","path":"slang-checks/src/test/resources/com/sonarsource/slang/checks/UnusedFunctionParameter.slang","position":14,"original_position":14,"commit_id":"16939a77567b3a8f6c61a4fec014db35c1177335","original_commit_id":"16939a77567b3a8f6c61a4fec014db35c1177335","user":{"login":"christophe-zurn-sonarsource","id":36889251,"node_id":"MDQ6VXNlcjM2ODg5MjUx","avatar_url":"https://avatars2.githubusercontent.com/u/36889251?v=4","gravatar_id":"","url":"https://api.github.com/users/christophe-zurn-sonarsource","html_url":"https://github.com/christophe-zurn-sonarsource","followers_url":"https://api.github.com/users/christophe-zurn-sonarsource/followers","following_url":"https://api.github.com/users/christophe-zurn-sonarsource/following{/other_user}","gists_url":"https://api.github.com/users/christophe-zurn-sonarsource/gists{/gist_id}","starred_url":"https://api.github.com/users/christophe-zurn-sonarsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophe-zurn-sonarsource/subscriptions","organizations_url":"https://api.github.com/users/christophe-zurn-sonarsource/orgs","repos_url":"https://api.github.com/users/christophe-zurn-sonarsource/repos","events_url":"https://api.github.com/users/christophe-zurn-sonarsource/events{/privacy}","received_events_url":"https://api.github.com/users/christophe-zurn-sonarsource/received_events","type":"User","site_admin":false},"body":"We could have one of these test with a parameter without type to ensure it works in that case too","created_at":"2018-06-15T12:25:36Z","updated_at":"2018-06-15T12:29:09Z","html_url":"https://github.com/SonarSource/slang/pull/82#discussion_r195715719","pull_request_url":"https://api.github.com/repos/SonarSource/slang/pulls/82","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/comments/195715719"},"html":{"href":"https://github.com/SonarSource/slang/pull/82#discussion_r195715719"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource/slang/pulls/82","id":195149262,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MTQ5MjYy","html_url":"https://github.com/SonarSource/slang/pull/82","diff_url":"https://github.com/SonarSource/slang/pull/82.diff","patch_url":"https://github.com/SonarSource/slang/pull/82.patch","issue_url":"https://api.github.com/repos/SonarSource/slang/issues/82","number":82,"state":"open","locked":false,"title":"SONARSLANG-4 Rule: Unused Function Parameter","user":{"login":"marcelo-sousa-sonarsource","id":36008846,"node_id":"MDQ6VXNlcjM2MDA4ODQ2","avatar_url":"https://avatars3.githubusercontent.com/u/36008846?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelo-sousa-sonarsource","html_url":"https://github.com/marcelo-sousa-sonarsource","followers_url":"https://api.github.com/users/marcelo-sousa-sonarsource/followers","following_url":"https://api.github.com/users/marcelo-sousa-sonarsource/following{/other_user}","gists_url":"https://api.github.com/users/marcelo-sousa-sonarsource/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelo-sousa-sonarsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelo-sousa-sonarsource/subscriptions","organizations_url":"https://api.github.com/users/marcelo-sousa-sonarsource/orgs","repos_url":"https://api.github.com/users/marcelo-sousa-sonarsource/repos","events_url":"https://api.github.com/users/marcelo-sousa-sonarsource/events{/privacy}","received_events_url":"https://api.github.com/users/marcelo-sousa-sonarsource/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-15T11:35:51Z","updated_at":"2018-06-15T12:29:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5f05793e31faafc740fc5b83dccd16ba585c4db","assignee":{"login":"christophe-zurn-sonarsource","id":36889251,"node_id":"MDQ6VXNlcjM2ODg5MjUx","avatar_url":"https://avatars2.githubusercontent.com/u/36889251?v=4","gravatar_id":"","url":"https://api.github.com/users/christophe-zurn-sonarsource","html_url":"https://github.com/christophe-zurn-sonarsource","followers_url":"https://api.github.com/users/christophe-zurn-sonarsource/followers","following_url":"https://api.github.com/users/christophe-zurn-sonarsource/following{/other_user}","gists_url":"https://api.github.com/users/christophe-zurn-sonarsource/gists{/gist_id}","starred_url":"https://api.github.com/users/christophe-zurn-sonarsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophe-zurn-sonarsource/subscriptions","organizations_url":"https://api.github.com/users/christophe-zurn-sonarsource/orgs","repos_url":"https://api.github.com/users/christophe-zurn-sonarsource/repos","events_url":"https://api.github.com/users/christophe-zurn-sonarsource/events{/privacy}","received_events_url":"https://api.github.com/users/christophe-zurn-sonarsource/received_events","type":"User","site_admin":false},"assignees":[{"login":"christophe-zurn-sonarsource","id":36889251,"node_id":"MDQ6VXNlcjM2ODg5MjUx","avatar_url":"https://avatars2.githubusercontent.com/u/36889251?v=4","gravatar_id":"","url":"https://api.github.com/users/christophe-zurn-sonarsource","html_url":"https://github.com/christophe-zurn-sonarsource","followers_url":"https://api.github.com/users/christophe-zurn-sonarsource/followers","following_url":"https://api.github.com/users/christophe-zurn-sonarsource/following{/other_user}","gists_url":"https://api.github.com/users/christophe-zurn-sonarsource/gists{/gist_id}","starred_url":"https://api.github.com/users/christophe-zurn-sonarsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophe-zurn-sonarsource/subscriptions","organizations_url":"https://api.github.com/users/christophe-zurn-sonarsource/orgs","repos_url":"https://api.github.com/users/christophe-zurn-sonarsource/repos","events_url":"https://api.github.com/users/christophe-zurn-sonarsource/events{/privacy}","received_events_url":"https://api.github.com/users/christophe-zurn-sonarsource/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/slang/pulls/82/commits","review_comments_url":"https://api.github.com/repos/SonarSource/slang/pulls/82/comments","review_comment_url":"https://api.github.com/repos/SonarSource/slang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/slang/issues/82/comments","statuses_url":"https://api.github.com/repos/SonarSource/slang/statuses/16939a77567b3a8f6c61a4fec014db35c1177335","head":{"label":"SonarSource:SONARSLANG-4","ref":"SONARSLANG-4","sha":"16939a77567b3a8f6c61a4fec014db35c1177335","user":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":135174794,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxNzQ3OTQ=","name":"slang","full_name":"SonarSource/slang","owner":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/slang","description":null,"fork":false,"url":"https://api.github.com/repos/SonarSource/slang","forks_url":"https://api.github.com/repos/SonarSource/slang/forks","keys_url":"https://api.github.com/repos/SonarSource/slang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/slang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/slang/teams","hooks_url":"https://api.github.com/repos/SonarSource/slang/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/slang/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/slang/events","assignees_url":"https://api.github.com/repos/SonarSource/slang/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/slang/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/slang/tags","blobs_url":"https://api.github.com/repos/SonarSource/slang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/slang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/slang/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/slang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/slang/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/slang/languages","stargazers_url":"https://api.github.com/repos/SonarSource/slang/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/slang/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/slang/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/slang/subscription","commits_url":"https://api.github.com/repos/SonarSource/slang/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/slang/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/slang/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/slang/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/slang/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/slang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/slang/merges","archive_url":"https://api.github.com/repos/SonarSource/slang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/slang/downloads","issues_url":"https://api.github.com/repos/SonarSource/slang/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/slang/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/slang/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/slang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/slang/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/slang/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/slang/deployments","created_at":"2018-05-28T14:52:00Z","updated_at":"2018-06-15T11:39:24Z","pushed_at":"2018-06-15T12:13:06Z","git_url":"git://github.com/SonarSource/slang.git","ssh_url":"git@github.com:SonarSource/slang.git","clone_url":"https://github.com/SonarSource/slang.git","svn_url":"https://github.com/SonarSource/slang","homepage":null,"size":365,"stargazers_count":1,"watchers_count":1,"language":"Java","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":9,"license":null,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"f883711aabd345fa42dbbd316a082f8b1dc3ef77","user":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":135174794,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxNzQ3OTQ=","name":"slang","full_name":"SonarSource/slang","owner":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/slang","description":null,"fork":false,"url":"https://api.github.com/repos/SonarSource/slang","forks_url":"https://api.github.com/repos/SonarSource/slang/forks","keys_url":"https://api.github.com/repos/SonarSource/slang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/slang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/slang/teams","hooks_url":"https://api.github.com/repos/SonarSource/slang/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/slang/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/slang/events","assignees_url":"https://api.github.com/repos/SonarSource/slang/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/slang/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/slang/tags","blobs_url":"https://api.github.com/repos/SonarSource/slang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/slang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/slang/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/slang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/slang/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/slang/languages","stargazers_url":"https://api.github.com/repos/SonarSource/slang/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/slang/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/slang/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/slang/subscription","commits_url":"https://api.github.com/repos/SonarSource/slang/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/slang/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/slang/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/slang/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/slang/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/slang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/slang/merges","archive_url":"https://api.github.com/repos/SonarSource/slang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/slang/downloads","issues_url":"https://api.github.com/repos/SonarSource/slang/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/slang/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/slang/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/slang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/slang/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/slang/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/slang/deployments","created_at":"2018-05-28T14:52:00Z","updated_at":"2018-06-15T11:39:24Z","pushed_at":"2018-06-15T12:13:06Z","git_url":"git://github.com/SonarSource/slang.git","ssh_url":"git@github.com:SonarSource/slang.git","clone_url":"https://github.com/SonarSource/slang.git","svn_url":"https://github.com/SonarSource/slang","homepage":null,"size":365,"stargazers_count":1,"watchers_count":1,"language":"Java","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":9,"license":null,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/82"},"html":{"href":"https://github.com/SonarSource/slang/pull/82"},"issue":{"href":"https://api.github.com/repos/SonarSource/slang/issues/82"},"comments":{"href":"https://api.github.com/repos/SonarSource/slang/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/slang/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/slang/statuses/16939a77567b3a8f6c61a4fec014db35c1177335"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"christophe-zurn-sonarsource"}}