{"action":"created","comment":{"url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments/39039469","id":39039469,"diff_hunk":"@@ -651,6 +652,8 @@ public static void expression(LexerlessGrammarBuilder b) {\n   }\n \n   public static void declaration(LexerlessGrammarBuilder b) {\n+    // TODO: use declaration should be simplified and merged with use_statement","path":"php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java","position":12,"original_position":12,"commit_id":"cbef743d2b7172fa135376c3c10837a1114b12b5","original_commit_id":"cbef743d2b7172fa135376c3c10837a1114b12b5","user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"body":"![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) Complete the task associated to this TODO comment. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1135)\n","created_at":"2015-09-09T13:12:38Z","updated_at":"2015-09-09T13:12:38Z","html_url":"https://github.com/SonarCommunity/sonar-php/pull/16#discussion_r39039469","pull_request_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments/39039469"},"html":{"href":"https://github.com/SonarCommunity/sonar-php/pull/16#discussion_r39039469"},"pull_request":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16","id":44443488,"html_url":"https://github.com/SonarCommunity/sonar-php/pull/16","diff_url":"https://github.com/SonarCommunity/sonar-php/pull/16.diff","patch_url":"https://github.com/SonarCommunity/sonar-php/pull/16.patch","issue_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/16","number":16,"state":"open","locked":false,"title":"SONARPHP-489 Interface model for EXPRESSIONS","user":{"login":"lindamartin","id":5627510,"avatar_url":"https://avatars.githubusercontent.com/u/5627510?v=3","gravatar_id":"","url":"https://api.github.com/users/lindamartin","html_url":"https://github.com/lindamartin","followers_url":"https://api.github.com/users/lindamartin/followers","following_url":"https://api.github.com/users/lindamartin/following{/other_user}","gists_url":"https://api.github.com/users/lindamartin/gists{/gist_id}","starred_url":"https://api.github.com/users/lindamartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindamartin/subscriptions","organizations_url":"https://api.github.com/users/lindamartin/orgs","repos_url":"https://api.github.com/users/lindamartin/repos","events_url":"https://api.github.com/users/lindamartin/events{/privacy}","received_events_url":"https://api.github.com/users/lindamartin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-08T15:05:52Z","updated_at":"2015-09-09T13:12:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9f8c942c602e1dfec27606dba60b9977cc441ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16/commits","review_comments_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16/comments","review_comment_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/16/comments","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-php/statuses/cbef743d2b7172fa135376c3c10837a1114b12b5","head":{"label":"lindamartin:model-expressions","ref":"model-expressions","sha":"cbef743d2b7172fa135376c3c10837a1114b12b5","user":{"login":"lindamartin","id":5627510,"avatar_url":"https://avatars.githubusercontent.com/u/5627510?v=3","gravatar_id":"","url":"https://api.github.com/users/lindamartin","html_url":"https://github.com/lindamartin","followers_url":"https://api.github.com/users/lindamartin/followers","following_url":"https://api.github.com/users/lindamartin/following{/other_user}","gists_url":"https://api.github.com/users/lindamartin/gists{/gist_id}","starred_url":"https://api.github.com/users/lindamartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindamartin/subscriptions","organizations_url":"https://api.github.com/users/lindamartin/orgs","repos_url":"https://api.github.com/users/lindamartin/repos","events_url":"https://api.github.com/users/lindamartin/events{/privacy}","received_events_url":"https://api.github.com/users/lindamartin/received_events","type":"User","site_admin":false},"repo":{"id":42060908,"name":"sonar-php","full_name":"lindamartin/sonar-php","owner":{"login":"lindamartin","id":5627510,"avatar_url":"https://avatars.githubusercontent.com/u/5627510?v=3","gravatar_id":"","url":"https://api.github.com/users/lindamartin","html_url":"https://github.com/lindamartin","followers_url":"https://api.github.com/users/lindamartin/followers","following_url":"https://api.github.com/users/lindamartin/following{/other_user}","gists_url":"https://api.github.com/users/lindamartin/gists{/gist_id}","starred_url":"https://api.github.com/users/lindamartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindamartin/subscriptions","organizations_url":"https://api.github.com/users/lindamartin/orgs","repos_url":"https://api.github.com/users/lindamartin/repos","events_url":"https://api.github.com/users/lindamartin/events{/privacy}","received_events_url":"https://api.github.com/users/lindamartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lindamartin/sonar-php","description":"","fork":true,"url":"https://api.github.com/repos/lindamartin/sonar-php","forks_url":"https://api.github.com/repos/lindamartin/sonar-php/forks","keys_url":"https://api.github.com/repos/lindamartin/sonar-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lindamartin/sonar-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lindamartin/sonar-php/teams","hooks_url":"https://api.github.com/repos/lindamartin/sonar-php/hooks","issue_events_url":"https://api.github.com/repos/lindamartin/sonar-php/issues/events{/number}","events_url":"https://api.github.com/repos/lindamartin/sonar-php/events","assignees_url":"https://api.github.com/repos/lindamartin/sonar-php/assignees{/user}","branches_url":"https://api.github.com/repos/lindamartin/sonar-php/branches{/branch}","tags_url":"https://api.github.com/repos/lindamartin/sonar-php/tags","blobs_url":"https://api.github.com/repos/lindamartin/sonar-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lindamartin/sonar-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lindamartin/sonar-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/lindamartin/sonar-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lindamartin/sonar-php/statuses/{sha}","languages_url":"https://api.github.com/repos/lindamartin/sonar-php/languages","stargazers_url":"https://api.github.com/repos/lindamartin/sonar-php/stargazers","contributors_url":"https://api.github.com/repos/lindamartin/sonar-php/contributors","subscribers_url":"https://api.github.com/repos/lindamartin/sonar-php/subscribers","subscription_url":"https://api.github.com/repos/lindamartin/sonar-php/subscription","commits_url":"https://api.github.com/repos/lindamartin/sonar-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/lindamartin/sonar-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/lindamartin/sonar-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/lindamartin/sonar-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/lindamartin/sonar-php/contents/{+path}","compare_url":"https://api.github.com/repos/lindamartin/sonar-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lindamartin/sonar-php/merges","archive_url":"https://api.github.com/repos/lindamartin/sonar-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lindamartin/sonar-php/downloads","issues_url":"https://api.github.com/repos/lindamartin/sonar-php/issues{/number}","pulls_url":"https://api.github.com/repos/lindamartin/sonar-php/pulls{/number}","milestones_url":"https://api.github.com/repos/lindamartin/sonar-php/milestones{/number}","notifications_url":"https://api.github.com/repos/lindamartin/sonar-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lindamartin/sonar-php/labels{/name}","releases_url":"https://api.github.com/repos/lindamartin/sonar-php/releases{/id}","created_at":"2015-09-07T15:35:18Z","updated_at":"2015-09-07T15:35:19Z","pushed_at":"2015-09-09T13:11:14Z","git_url":"git://github.com/lindamartin/sonar-php.git","ssh_url":"git@github.com:lindamartin/sonar-php.git","clone_url":"https://github.com/lindamartin/sonar-php.git","svn_url":"https://github.com/lindamartin/sonar-php","homepage":"http://docs.codehaus.org/display/SONAR/PHP+Plugin","size":9448,"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":"SonarCommunity:strongly-typed","ref":"strongly-typed","sha":"bef42dc371ebbd76bdcbff23ee062f5ec1a1aaed","user":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":4544982,"name":"sonar-php","full_name":"SonarCommunity/sonar-php","owner":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarCommunity/sonar-php","description":"","fork":false,"url":"https://api.github.com/repos/SonarCommunity/sonar-php","forks_url":"https://api.github.com/repos/SonarCommunity/sonar-php/forks","keys_url":"https://api.github.com/repos/SonarCommunity/sonar-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarCommunity/sonar-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarCommunity/sonar-php/teams","hooks_url":"https://api.github.com/repos/SonarCommunity/sonar-php/hooks","issue_events_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/events{/number}","events_url":"https://api.github.com/repos/SonarCommunity/sonar-php/events","assignees_url":"https://api.github.com/repos/SonarCommunity/sonar-php/assignees{/user}","branches_url":"https://api.github.com/repos/SonarCommunity/sonar-php/branches{/branch}","tags_url":"https://api.github.com/repos/SonarCommunity/sonar-php/tags","blobs_url":"https://api.github.com/repos/SonarCommunity/sonar-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarCommunity/sonar-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarCommunity/sonar-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarCommunity/sonar-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-php/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarCommunity/sonar-php/languages","stargazers_url":"https://api.github.com/repos/SonarCommunity/sonar-php/stargazers","contributors_url":"https://api.github.com/repos/SonarCommunity/sonar-php/contributors","subscribers_url":"https://api.github.com/repos/SonarCommunity/sonar-php/subscribers","subscription_url":"https://api.github.com/repos/SonarCommunity/sonar-php/subscription","commits_url":"https://api.github.com/repos/SonarCommunity/sonar-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarCommunity/sonar-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarCommunity/sonar-php/contents/{+path}","compare_url":"https://api.github.com/repos/SonarCommunity/sonar-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarCommunity/sonar-php/merges","archive_url":"https://api.github.com/repos/SonarCommunity/sonar-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarCommunity/sonar-php/downloads","issues_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues{/number}","pulls_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarCommunity/sonar-php/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarCommunity/sonar-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarCommunity/sonar-php/labels{/name}","releases_url":"https://api.github.com/repos/SonarCommunity/sonar-php/releases{/id}","created_at":"2012-06-04T08:36:12Z","updated_at":"2015-08-11T08:00:14Z","pushed_at":"2015-09-09T13:11:14Z","git_url":"git://github.com/SonarCommunity/sonar-php.git","ssh_url":"git@github.com:SonarCommunity/sonar-php.git","clone_url":"https://github.com/SonarCommunity/sonar-php.git","svn_url":"https://github.com/SonarCommunity/sonar-php","homepage":"http://docs.codehaus.org/display/SONAR/PHP+Plugin","size":12485,"stargazers_count":39,"watchers_count":39,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":6,"forks":30,"open_issues":6,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16"},"html":{"href":"https://github.com/SonarCommunity/sonar-php/pull/16"},"issue":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/16"},"comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/statuses/cbef743d2b7172fa135376c3c10837a1114b12b5"}}}}