{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1543","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1543/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1543/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1543/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1543","id":108404446,"number":1543,"title":"SA1107: Dont report if the previous statement is missing its last token","user":{"login":"pdelvo","id":1710209,"avatar_url":"https://avatars.githubusercontent.com/u/1710209?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelvo","html_url":"https://github.com/pdelvo","followers_url":"https://api.github.com/users/pdelvo/followers","following_url":"https://api.github.com/users/pdelvo/following{/other_user}","gists_url":"https://api.github.com/users/pdelvo/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelvo/subscriptions","organizations_url":"https://api.github.com/users/pdelvo/orgs","repos_url":"https://api.github.com/users/pdelvo/repos","events_url":"https://api.github.com/users/pdelvo/events{/privacy}","received_events_url":"https://api.github.com/users/pdelvo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T20:42:56Z","updated_at":"2015-09-25T20:48:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/pulls/1543","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1543","diff_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1543.diff","patch_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1543.patch"},"body":"I know this is pedantic, but it was a little bit annoying. When writing a statement that has its last token missing (e.g. a missing semicolon) SA1107 is reported in the following statement. The reason is that roslyn puts the missing semicolon at the start of the next line. So SA1107 is reported because the next statement is on the same line as the missing semicolon. In this code the whole if statement has squiggles. With this change SA1107 is not reported if the last token of the previous statement is missing."},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/143349689","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1543#issuecomment-143349689","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1543","id":143349689,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T20:48:58Z","updated_at":"2015-09-25T20:48:58Z","body":"## [Current coverage][1] is `77.29%`\n> Merging **#1543** into **master** will not affect coverage as of [`0080807`][3]\n\n\n```diff\n@@            master   #1543   diff @@\n======================================\n  Files          530     530       \n  Stmts        32101   32113    +12\n  Branches      8781    8783     +2\n  Methods          0       0       \n======================================\n+ Hit          24814   24823     +9\n- Partial       5127    5130     +3\n  Missed        2160    2160       \n```\n\n> Review entire [Coverage Diff][4] as of [`0080807`][3]\n\n\n[1]: https://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers?ref=00808076260e744d76761f88414432fda2cc2daf\n[2]: https://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers/features/suggestions?ref=00808076260e744d76761f88414432fda2cc2daf\n[3]: https://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers/commit/00808076260e744d76761f88414432fda2cc2daf\n[4]: https://codecov.io/github/DotNetAnalyzers/StyleCopAnalyzers/compare/f3ddc0e78c86d5a78f43a26011ca25cb0adaf5af...00808076260e744d76761f88414432fda2cc2daf\n\n> Powered by [Codecov](https://codecov.io). Updated on successful CI builds."}}