{"action":"created","comment":{"url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments/39375265","id":39375265,"diff_hunk":"@@ -0,0 +1,454 @@\n+/*\n+ * SonarQube PHP Plugin\n+ * Copyright (C) 2010 SonarSource and Akram Ben Aissi\n+ * sonarqube@googlegroups.com\n+ *\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU Lesser General Public\n+ * License as published by the Free Software Foundation; either\n+ * version 3 of the License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public\n+ * License along with this program; if not, write to the Free Software\n+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\n+ */\n+package org.sonar.php.parser;\n+\n+import com.sonar.sslr.api.GenericTokenType;\n+import org.sonar.php.api.PHPKeyword;\n+import org.sonar.php.api.PHPPunctuator;\n+import org.sonar.sslr.grammar.GrammarRuleKey;\n+import org.sonar.sslr.grammar.LexerlessGrammarBuilder;\n+import org.sonar.sslr.parser.LexerlessGrammar;\n+\n+import static org.sonar.php.api.PHPKeyword.ABSTRACT;\n+import static org.sonar.php.api.PHPKeyword.ARRAY;\n+import static org.sonar.php.api.PHPKeyword.AS;\n+import static org.sonar.php.api.PHPKeyword.BREAK;\n+import static org.sonar.php.api.PHPKeyword.CALLABLE;\n+import static org.sonar.php.api.PHPKeyword.CASE;\n+import static org.sonar.php.api.PHPKeyword.CATCH;\n+import static org.sonar.php.api.PHPKeyword.CLASS;\n+import static org.sonar.php.api.PHPKeyword.CLONE;\n+import static org.sonar.php.api.PHPKeyword.CONST;\n+import static org.sonar.php.api.PHPKeyword.CONTINUE;\n+import static org.sonar.php.api.PHPKeyword.DECLARE;\n+import static org.sonar.php.api.PHPKeyword.DEFAULT;\n+import static org.sonar.php.api.PHPKeyword.DIE;\n+import static org.sonar.php.api.PHPKeyword.DO;\n+import static org.sonar.php.api.PHPKeyword.ECHO;\n+import static org.sonar.php.api.PHPKeyword.ELSE;\n+import static org.sonar.php.api.PHPKeyword.ELSEIF;\n+import static org.sonar.php.api.PHPKeyword.EMPTY;\n+import static org.sonar.php.api.PHPKeyword.ENDDECLARE;\n+import static org.sonar.php.api.PHPKeyword.ENDFOR;\n+import static org.sonar.php.api.PHPKeyword.ENDFOREACH;\n+import static org.sonar.php.api.PHPKeyword.ENDIF;\n+import static org.sonar.php.api.PHPKeyword.ENDSWITCH;\n+import static org.sonar.php.api.PHPKeyword.ENDWHILE;\n+import static org.sonar.php.api.PHPKeyword.EVAL;\n+import static org.sonar.php.api.PHPKeyword.EXIT;\n+import static org.sonar.php.api.PHPKeyword.EXTENDS;\n+import static org.sonar.php.api.PHPKeyword.FINAL;\n+import static org.sonar.php.api.PHPKeyword.FINALLY;\n+import static org.sonar.php.api.PHPKeyword.FOR;\n+import static org.sonar.php.api.PHPKeyword.FOREACH;\n+import static org.sonar.php.api.PHPKeyword.FUNCTION;\n+import static org.sonar.php.api.PHPKeyword.GLOBAL;\n+import static org.sonar.php.api.PHPKeyword.GOTO;\n+import static org.sonar.php.api.PHPKeyword.HALT_COMPILER;\n+import static org.sonar.php.api.PHPKeyword.IF;\n+import static org.sonar.php.api.PHPKeyword.IMPLEMENTS;\n+import static org.sonar.php.api.PHPKeyword.INCLUDE;\n+import static org.sonar.php.api.PHPKeyword.INCLUDE_ONCE;\n+import static org.sonar.php.api.PHPKeyword.INSTANCEOF;\n+import static org.sonar.php.api.PHPKeyword.INSTEADOF;\n+import static org.sonar.php.api.PHPKeyword.INTERFACE;\n+import static org.sonar.php.api.PHPKeyword.ISSET;\n+import static org.sonar.php.api.PHPKeyword.LIST;\n+import static org.sonar.php.api.PHPKeyword.NAMESPACE;\n+import static org.sonar.php.api.PHPKeyword.NEW;\n+import static org.sonar.php.api.PHPKeyword.PRINT;\n+import static org.sonar.php.api.PHPKeyword.PRIVATE;\n+import static org.sonar.php.api.PHPKeyword.PROTECTED;\n+import static org.sonar.php.api.PHPKeyword.PUBLIC;\n+import static org.sonar.php.api.PHPKeyword.REQUIRE;\n+import static org.sonar.php.api.PHPKeyword.REQUIRE_ONCE;\n+import static org.sonar.php.api.PHPKeyword.RETURN;\n+import static org.sonar.php.api.PHPKeyword.STATIC;\n+import static org.sonar.php.api.PHPKeyword.SWITCH;\n+import static org.sonar.php.api.PHPKeyword.THROW;\n+import static org.sonar.php.api.PHPKeyword.TRAIT;\n+import static org.sonar.php.api.PHPKeyword.TRY;\n+import static org.sonar.php.api.PHPKeyword.UNSET;\n+import static org.sonar.php.api.PHPKeyword.USE;\n+import static org.sonar.php.api.PHPKeyword.VAR;\n+import static org.sonar.php.api.PHPKeyword.WHILE;\n+import static org.sonar.php.api.PHPKeyword.YIELD;\n+import static org.sonar.php.api.PHPPunctuator.AMPERSAND;\n+import static org.sonar.php.api.PHPPunctuator.ANDAND;\n+import static org.sonar.php.api.PHPPunctuator.ANDEQUAL;\n+import static org.sonar.php.api.PHPPunctuator.ARROW;\n+import static org.sonar.php.api.PHPPunctuator.BANG;\n+import static org.sonar.php.api.PHPPunctuator.COLON;\n+import static org.sonar.php.api.PHPPunctuator.COMMA;\n+import static org.sonar.php.api.PHPPunctuator.CONCATEQUAL;\n+import static org.sonar.php.api.PHPPunctuator.DEC;\n+import static org.sonar.php.api.PHPPunctuator.DIV;\n+import static org.sonar.php.api.PHPPunctuator.DIVEQUAL;\n+import static org.sonar.php.api.PHPPunctuator.DOLAR;\n+import static org.sonar.php.api.PHPPunctuator.DOLAR_LCURLY;\n+import static org.sonar.php.api.PHPPunctuator.DOT;\n+import static org.sonar.php.api.PHPPunctuator.DOUBLEARROW;\n+import static org.sonar.php.api.PHPPunctuator.DOUBLECOLON;\n+import static org.sonar.php.api.PHPPunctuator.ELIPSIS;\n+import static org.sonar.php.api.PHPPunctuator.EQU;\n+import static org.sonar.php.api.PHPPunctuator.EQUAL;\n+import static org.sonar.php.api.PHPPunctuator.EQUAL2;\n+import static org.sonar.php.api.PHPPunctuator.GE;\n+import static org.sonar.php.api.PHPPunctuator.GT;\n+import static org.sonar.php.api.PHPPunctuator.INC;\n+import static org.sonar.php.api.PHPPunctuator.LBRACKET;\n+import static org.sonar.php.api.PHPPunctuator.LCURLYBRACE;\n+import static org.sonar.php.api.PHPPunctuator.LE;\n+import static org.sonar.php.api.PHPPunctuator.LPARENTHESIS;\n+import static org.sonar.php.api.PHPPunctuator.LT;\n+import static org.sonar.php.api.PHPPunctuator.MINUS;\n+import static org.sonar.php.api.PHPPunctuator.MINUS_EQU;\n+import static org.sonar.php.api.PHPPunctuator.MOD;\n+import static org.sonar.php.api.PHPPunctuator.MOD_EQU;\n+import static org.sonar.php.api.PHPPunctuator.NOTEQUAL;\n+import static org.sonar.php.api.PHPPunctuator.NOTEQUAL2;\n+import static org.sonar.php.api.PHPPunctuator.NOTEQUALBIS;\n+import static org.sonar.php.api.PHPPunctuator.NS_SEPARATOR;\n+import static org.sonar.php.api.PHPPunctuator.OR;\n+import static org.sonar.php.api.PHPPunctuator.OROR;\n+import static org.sonar.php.api.PHPPunctuator.OR_EQU;\n+import static org.sonar.php.api.PHPPunctuator.PLUS;\n+import static org.sonar.php.api.PHPPunctuator.PLUS_EQU;\n+import static org.sonar.php.api.PHPPunctuator.QUERY;\n+import static org.sonar.php.api.PHPPunctuator.RBRACKET;\n+import static org.sonar.php.api.PHPPunctuator.RCURLYBRACE;\n+import static org.sonar.php.api.PHPPunctuator.RPARENTHESIS;\n+import static org.sonar.php.api.PHPPunctuator.SEMICOLON;\n+import static org.sonar.php.api.PHPPunctuator.SL;\n+import static org.sonar.php.api.PHPPunctuator.SL_EQU;\n+import static org.sonar.php.api.PHPPunctuator.SR;\n+import static org.sonar.php.api.PHPPunctuator.SR_EQU;\n+import static org.sonar.php.api.PHPPunctuator.STAR;\n+import static org.sonar.php.api.PHPPunctuator.STAR_EQU;\n+import static org.sonar.php.api.PHPPunctuator.TILDA;\n+import static org.sonar.php.api.PHPPunctuator.XOR;\n+import static org.sonar.php.api.PHPPunctuator.XOR_EQU;\n+\n+public enum PHPLexicalGrammar implements GrammarRuleKey {\n+\n+  COMPILATION_UNIT,\n+  SCRIPT,\n+  TOP_STATEMENT_LIST,\n+\n+  /**\n+   * Declaration\n+   */\n+  USE_DECLARATIONS,\n+  USE_DECLARATION,\n+  USE_FUNCTION_DECLARATION_STATEMENT,\n+  USE_CONST_DECLARATION_STATEMENT,\n+  USE_FUNCTION_DECLARATIONS,\n+  USE_FUNCTION_DECLARATION,\n+  HALT_COMPILER_STATEMENT,\n+\n+  NAMESPACE_NAME,\n+  UNQUALIFIED_NAME,\n+  QUALIFIED_NAME,\n+  FULLY_QUALIFIED_NAME,\n+\n+  REFERENCE,\n+  FUNCTION_DECLARATION,\n+  CLASS_DECLARATION,\n+  CLASS_ENTRY_TYPE,\n+  CLASS_TYPE,\n+  FULLY_QUALIFIED_CLASS_NAME,\n+  INTERFACE_LIST,\n+  INTERFACE_DECLARATION,\n+  INTERFACE_EXTENDS_LIST,\n+  EXTENDS_FROM,\n+  IMPLEMENTS_LIST,\n+  CONSTANT_DECLARATION,\n+  CONSTANT_VAR,\n+\n+  /**\n+   * Lexical\n+   */\n+  EOF,\n+  HEREDOC,\n+  NUMERIC_LITERAL,\n+  STRING_LITERAL,\n+  STRING_WITH_ENCAPS_VAR_CHARACTERS,\n+  ENCAPS_VAR_IDENTIFIER,\n+  REGULAR_VAR_IDENTIFIER,\n+  VAR_IDENTIFIER,\n+  IDENTIFIER,\n+  FILE_OPENING_TAG,\n+  INLINE_HTML,\n+  KEYWORDS,\n+\n+  /**\n+   * SPACING\n+   */\n+  SPACING,\n+\n+  /**\n+   * End of statement.\n+   */\n+  EOS,\n+\n+  /**\n+   * Statement\n+   */\n+  USE_STATEMENT,\n+  TOP_STATEMENT,\n+  NAMESPACE_STATEMENT,\n+  STATEMENT,\n+  EMPTY_STATEMENT,\n+  LABEL,\n+  BLOCK,\n+  INNER_STATEMENT_LIST,\n+  CLASS_STATEMENT,\n+  IF_STATEMENT,\n+  ELSEIF_LIST,\n+  ELSEIF_CLAUSE,\n+  ELSE_CLAUSE,\n+  ALTERNATIVE_IF_STATEMENT,\n+  ALTERNATIVE_ELSEIF_LIST,\n+  ALTERNATIVE_ELSEIF_CLAUSE,\n+  ALTERNATIVE_ELSE_CLAUSE,\n+  WHILE_STATEMENT,\n+  ALTERNATIVE_WHILE_STATEMENT,\n+  DO_WHILE_STATEMENT,\n+  ALTERNATIVE_DO_WHILE_STATEMENT,\n+  FOR_STATEMENT,\n+  ALTERNATIVE_FOR_STATEMENT,\n+  FOR_EXRR,\n+  FOREACH_STATEMENT,\n+  ALTERNATIVE_FOREACH_STATEMENT,\n+  FOREACH_EXPR,\n+  FOREACH_VARIABLE,\n+  SWITCH_STATEMENT,\n+  SWITCH_CASE_LIST,\n+  CASE_LIST,\n+  CASE_CLAUSE,\n+  DEFAULT_CLAUSE,\n+  CASE_SEPARTOR,\n+  BREAK_STATEMENT,\n+  CONTINUE_STATEMENT,\n+  RETURN_STATEMENT,\n+  DECLARE_STATEMENT,\n+  ALTERNATIVE_DECLARE_STATEMENT,\n+  DECLARE_LIST,\n+  TRY_STATEMENT,\n+  CATCH_STATEMENT,\n+  FINALLY_STATEMENT,\n+  THROW_STATEMENT,\n+  GOTO_STATEMENT,\n+  YIELD_STATEMENT,\n+  GLOBAL_STATEMENT,\n+  GLOBAL_VAR_LIST,\n+  GLOBAL_VAR,\n+  STATIC_STATEMENT,\n+  STATIC_VAR_LIST,\n+  STATIC_VAR,\n+  ECHO_STATEMENT,\n+  UNSET_VARIABLE_STATEMENT,\n+  UNSET_VARIABLES,\n+  PARAMETER_LIST,\n+  PARAMETER,\n+  OPTIONAL_CLASS_TYPE,\n+  METHOD_DECLARATION,\n+  METHOD_BODY,\n+  VARIABLE_MODIFIERS,\n+  CLASS_VARIABLE_DECLARATION,\n+  VARIABLE_DECLARATION,\n+  MEMBER_MODIFIER,\n+  CLASS_CONSTANT_DECLARATION,\n+  MEMBER_CONST_DECLARATION,\n+  TRAIT_USE_STATEMENT,\n+  TRAIT_METHOD_REFERENCE_FULLY_QUALIFIED,\n+  TRAIT_METHOD_REFERENCE,\n+  TRAIT_ALIAS,\n+  TRAIT_PRECEDENCE,\n+  TRAIT_ADAPTATION_STATEMENT,\n+  TRAIT_ADAPTATIONS,\n+\n+  /**\n+   * Expression\n+   */\n+  PRIMARY_EXPRESSION,\n+  MEMBER_EXPRESSION,\n+  ALIAS_VARIABLE,\n+  VARIABLE_NAME,\n+  COMPUTED_VARIABLE_NAME,\n+  VARIABLE_WITHOUT_OBJECTS,\n+  EXPRESSION_STATEMENT,\n+  REFERENCE_VARIABLE,\n+  CLASS_MEMBER_ACCESS,\n+  OBJECT_MEMBER_ACCESS,\n+  SIMPLE_INDIRECT_REFERENCE,\n+  STATIC_MEMBER,\n+  COMPOUND_VARIABLE,\n+  CLASS_NAME,\n+  FUNCTION_CALL_PARAMETER_LIST,\n+  PARAMETER_LIST_FOR_CALL,\n+  DIMENSIONAL_OFFSET,\n+  STATIC_SCALAR,\n+  OBJECT_DIM_LIST,\n+  PARENTHESIS_EXPRESSION,\n+  YIELD_EXPRESSION,\n+  COMBINED_SCALAR,\n+  COMMON_SCALAR,\n+  BOOLEAN_LITERAL,\n+  LEXICAL_VARS,\n+  LEXICAL_VAR_LIST,\n+  LEXICAL_VAR,\n+  LOGICAL_XOR_EXPR,\n+  LOGICAL_OR_EXPR,\n+  LOGICAL_OR_OPERATOR,\n+  BITEWISE_AND_EXPR,\n+  BITEWISE_XOR_EXPR,\n+  BITEWISE_OR_EXPR,\n+  LOGICAL_AND_EXPR,\n+  LOGICAL_AND_OPERATOR,\n+  CONDITIONAL_EXPR,\n+  ASSIGNMENT_EXPR,\n+  MULTIPLICATIVE_EXPR,\n+  MULIPLICATIVE_OPERATOR,\n+  ADDITIVE_EXPR,\n+  ADDITIVE_OPERATOR,\n+  SHIFT_EXPR,\n+  SHIFT_OPERATOR,\n+  RELATIONAL_EXPR,\n+  RELATIONAL_OPERATOR,\n+  EQUALITY_EXPR,\n+  EQUALITY_OPERATOR,\n+  CONCATENATION_EXPR,\n+  POSTFIX_EXPR,\n+  UNARY_EXPR,\n+  ASSIGNMENT_BY_REFERENCE,\n+  ASSIGNMENT_OPERATOR,\n+  COMPOUND_ASSIGNMENT,\n+  CAST_TYPE,\n+  LOGICAL_ASSIGNMENT,\n+  INTERNAL_FUNCTION,\n+  NEW_EXPR,\n+  COMBINED_SCALAR_OFFSET,\n+  ARRAY_PAIR_LIST,\n+  ARRAY_PAIR,\n+  EXIT_EXPR,\n+  LIST_EXPR,\n+  LIST_ASSIGNMENT_EXPR,\n+  ASSIGNMENT_LIST_ELEMENT,\n+  ASSIGNMENT_LIST,\n+  FUNCTION_EXPRESSION,\n+  ENCAPS_STRING_LITERAL,\n+  COMPLEX_ENCAPS_VARIABLE,\n+  SEMI_COMPLEX_ENCAPS_VARIABLE,\n+  SEMI_COMPLEX_RECOVERY_EXPRESSION,\n+  SIMPLE_ENCAPS_VARIABLE,\n+  ENCAPS_LIST,\n+  ENCAPS_VAR_OFFSET,\n+  ENCAPS_VAR,\n+  ENCAPS_DIMENSIONAL_OFFSET,\n+  ENCAPS_OBJECT_MEMBER_ACCESS,\n+\n+  EXPRESSION;\n+\n+\n+  public static LexerlessGrammar createGrammar() {\n+    return createGrammarBuilder().build();\n+  }\n+\n+  public static LexerlessGrammarBuilder createGrammarBuilder() {\n+    LexerlessGrammarBuilder b = LexerlessGrammarBuilder.create();\n+\n+//    b.rule(COMPILATION_UNIT).is(b.optional(SCRIPT), SPACING, EOF);\n+    // fixme TOP_STATEMENT_LIST instead of EXPRESSION","path":"php-frontend/src/main/java/org/sonar/php/parser/PHPLexicalGrammar.java","position":379,"original_position":379,"commit_id":"09bf3b3e82ab3f48c42bd68b9b1c72214e3152ca","original_commit_id":"09bf3b3e82ab3f48c42bd68b9b1c72214e3152ca","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":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Take the required action to fix the issue indicated by this comment. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1134)\n","created_at":"2015-09-14T09:32:29Z","updated_at":"2015-09-14T09:32:29Z","html_url":"https://github.com/SonarCommunity/sonar-php/pull/18#discussion_r39375265","pull_request_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/comments/39375265"},"html":{"href":"https://github.com/SonarCommunity/sonar-php/pull/18#discussion_r39375265"},"pull_request":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18","id":44908754,"html_url":"https://github.com/SonarCommunity/sonar-php/pull/18","diff_url":"https://github.com/SonarCommunity/sonar-php/pull/18.diff","patch_url":"https://github.com/SonarCommunity/sonar-php/pull/18.patch","issue_url":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/18","number":18,"state":"open","locked":false,"title":"SONARPHP-492 Extract the lexical part from the grammar","user":{"login":"vilchik-elena","id":10108186,"avatar_url":"https://avatars.githubusercontent.com/u/10108186?v=3","gravatar_id":"","url":"https://api.github.com/users/vilchik-elena","html_url":"https://github.com/vilchik-elena","followers_url":"https://api.github.com/users/vilchik-elena/followers","following_url":"https://api.github.com/users/vilchik-elena/following{/other_user}","gists_url":"https://api.github.com/users/vilchik-elena/gists{/gist_id}","starred_url":"https://api.github.com/users/vilchik-elena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilchik-elena/subscriptions","organizations_url":"https://api.github.com/users/vilchik-elena/orgs","repos_url":"https://api.github.com/users/vilchik-elena/repos","events_url":"https://api.github.com/users/vilchik-elena/events{/privacy}","received_events_url":"https://api.github.com/users/vilchik-elena/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-14T09:25:15Z","updated_at":"2015-09-14T09:32:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"152de02e06b2633b8575a84e8fe95fd2bc39c0e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18/commits","review_comments_url":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18/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/18/comments","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-php/statuses/09bf3b3e82ab3f48c42bd68b9b1c72214e3152ca","head":{"label":"SonarCommunity:SONARPHP-492","ref":"SONARPHP-492","sha":"09bf3b3e82ab3f48c42bd68b9b1c72214e3152ca","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-14T09:25:16Z","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":5,"forks":30,"open_issues":5,"watchers":39,"default_branch":"master"}},"base":{"label":"SonarCommunity:strongly-typed","ref":"strongly-typed","sha":"6dafbf11d1cdee47707729f0300e1a47fc9bbd40","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-14T09:25:16Z","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":5,"forks":30,"open_issues":5,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18"},"html":{"href":"https://github.com/SonarCommunity/sonar-php/pull/18"},"issue":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/18"},"comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/pulls/18/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/18/commits"},"statuses":{"href":"https://api.github.com/repos/SonarCommunity/sonar-php/statuses/09bf3b3e82ab3f48c42bd68b9b1c72214e3152ca"}}}}