{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/11347","repository_url":"https://api.github.com/repos/Wikia/app","labels_url":"https://api.github.com/repos/Wikia/app/issues/11347/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/11347/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/11347/events","html_url":"https://github.com/Wikia/app/pull/11347","id":177300493,"number":11347,"title":"Community Page redesign","user":{"login":"dianafa","id":3716441,"avatar_url":"https://avatars.githubusercontent.com/u/3716441?v=3","gravatar_id":"","url":"https://api.github.com/users/dianafa","html_url":"https://github.com/dianafa","followers_url":"https://api.github.com/users/dianafa/followers","following_url":"https://api.github.com/users/dianafa/following{/other_user}","gists_url":"https://api.github.com/users/dianafa/gists{/gist_id}","starred_url":"https://api.github.com/users/dianafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianafa/subscriptions","organizations_url":"https://api.github.com/users/dianafa/orgs","repos_url":"https://api.github.com/users/dianafa/repos","events_url":"https://api.github.com/users/dianafa/events{/privacy}","received_events_url":"https://api.github.com/users/dianafa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-15T21:59:12Z","updated_at":"2016-09-15T23:02:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/11347","html_url":"https://github.com/Wikia/app/pull/11347","diff_url":"https://github.com/Wikia/app/pull/11347.diff","patch_url":"https://github.com/Wikia/app/pull/11347.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/247478690","html_url":"https://github.com/Wikia/app/pull/11347#issuecomment-247478690","issue_url":"https://api.github.com/repos/Wikia/app/issues/11347","id":247478690,"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-09-15T23:02:01Z","updated_at":"2016-09-15T23:02:01Z","body":"SonarQube analysis reported 57 issues\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 11 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 41 minor\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) 5 info\n\nWatch the comments in this conversation to review them.\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) [ext.communityPage.js#L10](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/CommunityPage/scripts/ext.communityPage.js#L10): Function has 8 parameters which is greater than 7 authorized. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=javascript%3AExcessiveParameterList)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [ext.communityPage.js#L191](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/CommunityPage/scripts/ext.communityPage.js#L191): Remove this useless assignment to local variable \"activeTab\" [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=javascript%3AS1854)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [InsightsService.class.php#L12](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/InsightsV2/services/InsightsService.class.php#L12): Reduce the number of returns of this function 4, down to the maximum allowed 3. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1142)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L51](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L51): Add a \"case default\" clause to this \"switch\" statement. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS131)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L53](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L53): Reduce this \"switch/case\" number of lines from 39 to at most 10, for example by extracting code into function. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1151)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L92](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L92): Reduce this \"switch/case\" number of lines from 20 to at most 10, for example by extracting code into function. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1151)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L136](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L136): Remove the unused function parameters \"$text, $error\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1172)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L193](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L193): Remove the unused function parameter \"$linksUpdate\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1172)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [MyHome.class.php#L315](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/extensions/wikia/MyHome/MyHome.class.php#L315): Remove the unused function parameter \"$user\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1172)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [UserService.class.php#L83](https://github.com/Wikia/app/blob/7d5d246b28418b7dfc501141a1a441495a3f004d/includes/wikia/services/UserService.class.php#L83): Remove this unused \"$resetThrottle\" local variable. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS1481)\n"}}
{"actor":{"display_login":"WikiaTech"}}