{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/11949","repository_url":"https://api.github.com/repos/Wikia/app","labels_url":"https://api.github.com/repos/Wikia/app/issues/11949/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/11949/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/11949/events","html_url":"https://github.com/Wikia/app/pull/11949","id":191268892,"number":11949,"title":"WW-562 | Moving On The Wiki tab in local nav to the right for anons ","user":{"login":"rybmat","id":1534495,"avatar_url":"https://avatars.githubusercontent.com/u/1534495?v=3","gravatar_id":"","url":"https://api.github.com/users/rybmat","html_url":"https://github.com/rybmat","followers_url":"https://api.github.com/users/rybmat/followers","following_url":"https://api.github.com/users/rybmat/following{/other_user}","gists_url":"https://api.github.com/users/rybmat/gists{/gist_id}","starred_url":"https://api.github.com/users/rybmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rybmat/subscriptions","organizations_url":"https://api.github.com/users/rybmat/orgs","repos_url":"https://api.github.com/users/rybmat/repos","events_url":"https://api.github.com/users/rybmat/events{/privacy}","received_events_url":"https://api.github.com/users/rybmat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T13:21:53Z","updated_at":"2016-11-23T13:22:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/11949","html_url":"https://github.com/Wikia/app/pull/11949","diff_url":"https://github.com/Wikia/app/pull/11949.diff","patch_url":"https://github.com/Wikia/app/pull/11949.patch"},"body":"https://wikia-inc.atlassian.net/browse/WW-562\r\n\r\n@Wikia/west-wing "},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/262511063","html_url":"https://github.com/Wikia/app/pull/11949#issuecomment-262511063","issue_url":"https://api.github.com/repos/Wikia/app/issues/11949","id":262511063,"user":{"login":"WikiaTech","id":13279985,"avatar_url":"https://avatars.githubusercontent.com/u/13279985?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiaTech","html_url":"https://github.com/WikiaTech","followers_url":"https://api.github.com/users/WikiaTech/followers","following_url":"https://api.github.com/users/WikiaTech/following{/other_user}","gists_url":"https://api.github.com/users/WikiaTech/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiaTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiaTech/subscriptions","organizations_url":"https://api.github.com/users/WikiaTech/orgs","repos_url":"https://api.github.com/users/WikiaTech/repos","events_url":"https://api.github.com/users/WikiaTech/events{/privacy}","received_events_url":"https://api.github.com/users/WikiaTech/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T13:22:20Z","updated_at":"2016-11-23T13:22:20Z","body":"SonarQube analysis reported 11 issues\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 8 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 2 minor\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) 1 info\n\n#### Top 10 extra issues\n\nNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:\n\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L8](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L8): Class \"NavigationModel\" has 21 methods, which is greater than 20 authorized. Split it into smaller classes. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1448)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L410](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L410): Refactor this code to not nest more than 4 \"if\", \"for\", \"while\", \"switch\" and \"try\" statements. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS134)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L423](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L423): Merge this if statement with the enclosing one. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1066)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L423](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L423): Refactor this code to not nest more than 4 \"if\", \"for\", \"while\", \"switch\" and \"try\" statements. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS134)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L424](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L424): Merge this if statement with the enclosing one. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1066)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L501](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L501): This branch's code block is the same as the block for the branch on line 499. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1871)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L506](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L506): This branch's code block is the same as the block for the branch on line 504. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1871)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [NavigationModel.class.php#L516](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L516): Refactor this code to not nest more than 4 \"if\", \"for\", \"while\", \"switch\" and \"try\" statements. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS134)\n1. ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [NavigationModel.class.php#L198](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L198): Immediately return this expression instead of assigning it to the temporary variable \"$menuData\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1488)\n1. ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [NavigationModel.class.php#L286](https://github.com/Wikia/app/blob/2e580d4af96eb982768a72f28f1a6b918982a527/includes/wikia/models/NavigationModel.class.php#L286): Immediately return this expression instead of assigning it to the temporary variable \"$nodes\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.wikia-inc.com/coding_rules#rule_key=php%3AS1488)\n"}}
{"actor":{"display_login":"WikiaTech"}}