{"action":"created","issue":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/9","labels_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/9/comments","events_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/9/events","html_url":"https://github.com/fabriciocolombo/sonar-delphi/issues/9","id":110576154,"number":9,"title":"Add new rule: Methods should not be empty","user":{"login":"fabriciocolombo","id":842859,"avatar_url":"https://avatars.githubusercontent.com/u/842859?v=3","gravatar_id":"","url":"https://api.github.com/users/fabriciocolombo","html_url":"https://github.com/fabriciocolombo","followers_url":"https://api.github.com/users/fabriciocolombo/followers","following_url":"https://api.github.com/users/fabriciocolombo/following{/other_user}","gists_url":"https://api.github.com/users/fabriciocolombo/gists{/gist_id}","starred_url":"https://api.github.com/users/fabriciocolombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabriciocolombo/subscriptions","organizations_url":"https://api.github.com/users/fabriciocolombo/orgs","repos_url":"https://api.github.com/users/fabriciocolombo/repos","events_url":"https://api.github.com/users/fabriciocolombo/events{/privacy}","received_events_url":"https://api.github.com/users/fabriciocolombo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/milestones/1","html_url":"https://github.com/fabriciocolombo/sonar-delphi/milestones/0.3.3","labels_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/milestones/1/labels","id":1345805,"number":1,"title":"0.3.3","description":null,"creator":{"login":"fabriciocolombo","id":842859,"avatar_url":"https://avatars.githubusercontent.com/u/842859?v=3","gravatar_id":"","url":"https://api.github.com/users/fabriciocolombo","html_url":"https://github.com/fabriciocolombo","followers_url":"https://api.github.com/users/fabriciocolombo/followers","following_url":"https://api.github.com/users/fabriciocolombo/following{/other_user}","gists_url":"https://api.github.com/users/fabriciocolombo/gists{/gist_id}","starred_url":"https://api.github.com/users/fabriciocolombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabriciocolombo/subscriptions","organizations_url":"https://api.github.com/users/fabriciocolombo/orgs","repos_url":"https://api.github.com/users/fabriciocolombo/repos","events_url":"https://api.github.com/users/fabriciocolombo/events{/privacy}","received_events_url":"https://api.github.com/users/fabriciocolombo/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":6,"state":"open","created_at":"2015-10-09T02:01:00Z","updated_at":"2015-12-12T21:23:53Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-09T02:19:55Z","updated_at":"2015-12-17T16:40:06Z","closed_at":null,"body":"**There are several reasons for a method not to have a method body:**\r\n * It is an unintentional omission, and should be fixed to prevent an unexpected behavior in production.\r\n * It is not yet, or never will be, supported. In this case an [ENotImplemented|ENotSupportedException] should be raised.\r\n * The method is an intentionally-blank override. In this case a nested comment should explain the reason for the blank override.\r\n\r\n**Exception**\r\nAn abstract class' may have empty methods, in order to provide default implementations for child classes."},"comment":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/comments/165504586","html_url":"https://github.com/fabriciocolombo/sonar-delphi/issues/9#issuecomment-165504586","issue_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/9","id":165504586,"user":{"login":"Teloah","id":1687949,"avatar_url":"https://avatars.githubusercontent.com/u/1687949?v=3","gravatar_id":"","url":"https://api.github.com/users/Teloah","html_url":"https://github.com/Teloah","followers_url":"https://api.github.com/users/Teloah/followers","following_url":"https://api.github.com/users/Teloah/following{/other_user}","gists_url":"https://api.github.com/users/Teloah/gists{/gist_id}","starred_url":"https://api.github.com/users/Teloah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teloah/subscriptions","organizations_url":"https://api.github.com/users/Teloah/orgs","repos_url":"https://api.github.com/users/Teloah/repos","events_url":"https://api.github.com/users/Teloah/events{/privacy}","received_events_url":"https://api.github.com/users/Teloah/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T16:40:06Z","updated_at":"2015-12-17T16:40:06Z","body":"Isn't this already *kind of* covered by \"Empty 'begin' statement\" rule? I see a lot of those violations, because I quite heavily use Null Object Pattern and, naturally, have a lot of empty methods."}}