{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23","id":52852890,"html_url":"https://github.com/SonarSource/sonar-checkstyle/pull/23","diff_url":"https://github.com/SonarSource/sonar-checkstyle/pull/23.diff","patch_url":"https://github.com/SonarSource/sonar-checkstyle/pull/23.patch","issue_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/23","number":23,"state":"open","locked":false,"title":"Fix rule definitions for ExecutableStatementCount and JavadocVariable","user":{"login":"tsjensen","id":7677131,"avatar_url":"https://avatars.githubusercontent.com/u/7677131?v=3","gravatar_id":"","url":"https://api.github.com/users/tsjensen","html_url":"https://github.com/tsjensen","followers_url":"https://api.github.com/users/tsjensen/followers","following_url":"https://api.github.com/users/tsjensen/following{/other_user}","gists_url":"https://api.github.com/users/tsjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsjensen/subscriptions","organizations_url":"https://api.github.com/users/tsjensen/orgs","repos_url":"https://api.github.com/users/tsjensen/repos","events_url":"https://api.github.com/users/tsjensen/events{/privacy}","received_events_url":"https://api.github.com/users/tsjensen/received_events","type":"User","site_admin":false},"body":"This PR contains two fixes to the rules.xml:\r\n\r\n1. The token list in *ExecutableStatementCount* contained spaces, which led to the rule being broken. It cannot be added to a quality profile at the moment. I removed the spaces.\r\n1. In *JavadocVariable*, the token list is incomplete (`VARIABLE_DEF` is actually an allowed token). This is due to a bug in the Checkstyle documentation. The Checkstyle code accepts `VARIABLE_DEF`, though, so we should be able to set it as well.\r\n\r\nHope this helps!","created_at":"2015-12-07T14:47:13Z","updated_at":"2015-12-07T14:47:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/23/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/statuses/c14d5fc4ed2e3804c3760f3d50896c379b91c61a","head":{"label":"tsjensen:ExecStmtCount","ref":"ExecStmtCount","sha":"c14d5fc4ed2e3804c3760f3d50896c379b91c61a","user":{"login":"tsjensen","id":7677131,"avatar_url":"https://avatars.githubusercontent.com/u/7677131?v=3","gravatar_id":"","url":"https://api.github.com/users/tsjensen","html_url":"https://github.com/tsjensen","followers_url":"https://api.github.com/users/tsjensen/followers","following_url":"https://api.github.com/users/tsjensen/following{/other_user}","gists_url":"https://api.github.com/users/tsjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsjensen/subscriptions","organizations_url":"https://api.github.com/users/tsjensen/orgs","repos_url":"https://api.github.com/users/tsjensen/repos","events_url":"https://api.github.com/users/tsjensen/events{/privacy}","received_events_url":"https://api.github.com/users/tsjensen/received_events","type":"User","site_admin":false},"repo":{"id":47557151,"name":"sonar-checkstyle","full_name":"tsjensen/sonar-checkstyle","owner":{"login":"tsjensen","id":7677131,"avatar_url":"https://avatars.githubusercontent.com/u/7677131?v=3","gravatar_id":"","url":"https://api.github.com/users/tsjensen","html_url":"https://github.com/tsjensen","followers_url":"https://api.github.com/users/tsjensen/followers","following_url":"https://api.github.com/users/tsjensen/following{/other_user}","gists_url":"https://api.github.com/users/tsjensen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsjensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsjensen/subscriptions","organizations_url":"https://api.github.com/users/tsjensen/orgs","repos_url":"https://api.github.com/users/tsjensen/repos","events_url":"https://api.github.com/users/tsjensen/events{/privacy}","received_events_url":"https://api.github.com/users/tsjensen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsjensen/sonar-checkstyle","description":"Support on Checkstyle in SonarQube","fork":true,"url":"https://api.github.com/repos/tsjensen/sonar-checkstyle","forks_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/forks","keys_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/teams","hooks_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/hooks","issue_events_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/events","assignees_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/tags","blobs_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/languages","stargazers_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/stargazers","contributors_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/contributors","subscribers_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/subscribers","subscription_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/subscription","commits_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/merges","archive_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/downloads","issues_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/tsjensen/sonar-checkstyle/releases{/id}","created_at":"2015-12-07T14:31:08Z","updated_at":"2015-12-07T14:31:09Z","pushed_at":"2015-12-07T14:32:29Z","git_url":"git://github.com/tsjensen/sonar-checkstyle.git","ssh_url":"git@github.com:tsjensen/sonar-checkstyle.git","clone_url":"https://github.com/tsjensen/sonar-checkstyle.git","svn_url":"https://github.com/tsjensen/sonar-checkstyle","homepage":"http://redirect.sonarsource.com/plugins/checkstyle.html","size":2369,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"SonarSource:master","ref":"master","sha":"8aa4270ff964161bb8dd7849f0b101842870c28e","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","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":15221302,"name":"sonar-checkstyle","full_name":"SonarSource/sonar-checkstyle","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","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/sonar-checkstyle","description":"Support on Checkstyle in SonarQube","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-checkstyle","forks_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-checkstyle/releases{/id}","created_at":"2013-12-16T09:00:13Z","updated_at":"2015-11-30T08:08:07Z","pushed_at":"2015-11-30T08:09:01Z","git_url":"git://github.com/SonarSource/sonar-checkstyle.git","ssh_url":"git@github.com:SonarSource/sonar-checkstyle.git","clone_url":"https://github.com/SonarSource/sonar-checkstyle.git","svn_url":"https://github.com/SonarSource/sonar-checkstyle","homepage":"http://redirect.sonarsource.com/plugins/checkstyle.html","size":2404,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23"},"html":{"href":"https://github.com/SonarSource/sonar-checkstyle/pull/23"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/23"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonar-checkstyle/statuses/c14d5fc4ed2e3804c3760f3d50896c379b91c61a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":7,"changed_files":1}}