{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/11146","repository_url":"https://api.github.com/repos/Wikia/app","labels_url":"https://api.github.com/repos/Wikia/app/issues/11146/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/11146/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/11146/events","html_url":"https://github.com/Wikia/app/pull/11146","id":172435251,"number":11146,"title":"Handle undefined field in RevisionUpvotesService::getUserNewUpvotes","user":{"login":"SebastianMarzjan","id":2051084,"avatar_url":"https://avatars.githubusercontent.com/u/2051084?v=3","gravatar_id":"","url":"https://api.github.com/users/SebastianMarzjan","html_url":"https://github.com/SebastianMarzjan","followers_url":"https://api.github.com/users/SebastianMarzjan/followers","following_url":"https://api.github.com/users/SebastianMarzjan/following{/other_user}","gists_url":"https://api.github.com/users/SebastianMarzjan/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianMarzjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianMarzjan/subscriptions","organizations_url":"https://api.github.com/users/SebastianMarzjan/orgs","repos_url":"https://api.github.com/users/SebastianMarzjan/repos","events_url":"https://api.github.com/users/SebastianMarzjan/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianMarzjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T11:59:56Z","updated_at":"2016-08-22T12:11:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/11146","html_url":"https://github.com/Wikia/app/pull/11146","diff_url":"https://github.com/Wikia/app/pull/11146.diff","patch_url":"https://github.com/Wikia/app/pull/11146.patch"},"body":"RevisionUpvotesService::getUserNewUpvotes was throwing an notice in case there was no data for the current user. This PR fixes it by introducing proper handling."},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/241394045","html_url":"https://github.com/Wikia/app/pull/11146#issuecomment-241394045","issue_url":"https://api.github.com/repos/Wikia/app/issues/11146","id":241394045,"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-08-22T12:11:12Z","updated_at":"2016-08-22T12:11:12Z","body":"SonarQube analysis reported 33 issues\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 14 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 19 minor\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) [RevisionUpvotesService.class.php#L45](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L45): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L54](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L54): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L82](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L82): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L83](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L83): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L121](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L121): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L122](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L122): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L162](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L162): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L163](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L163): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L218](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L218): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n1. ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [RevisionUpvotesService.class.php#L246](https://github.com/Wikia/app/blob/04f76eff0ec8d3708c57dd0a35b9e2c44cc5249c/includes/wikia/services/RevisionUpvotesService.class.php#L246): Use \"static\" keyword instead of \"self\". [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://10.8.74.32:9000/coding_rules#rule_key=php%3AS2037)\n"}}
{"actor":{"display_login":"WikiaTech"}}