{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/12243","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/12243/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/12243/comments","events_url":"https://api.github.com/repos/servo/servo/issues/12243/events","html_url":"https://github.com/servo/servo/pull/12243","id":163744360,"number":12243,"title":"Add style check and test for else braces","user":{"login":"TravisDean","id":3077602,"avatar_url":"https://avatars.githubusercontent.com/u/3077602?v=3","gravatar_id":"","url":"https://api.github.com/users/TravisDean","html_url":"https://github.com/TravisDean","followers_url":"https://api.github.com/users/TravisDean/followers","following_url":"https://api.github.com/users/TravisDean/following{/other_user}","gists_url":"https://api.github.com/users/TravisDean/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisDean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisDean/subscriptions","organizations_url":"https://api.github.com/users/TravisDean/orgs","repos_url":"https://api.github.com/users/TravisDean/repos","events_url":"https://api.github.com/users/TravisDean/events{/privacy}","received_events_url":"https://api.github.com/users/TravisDean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9"},{"url":"https://api.github.com/repos/servo/servo/labels/S-needs-squash","name":"S-needs-squash","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"ConnorGBrewster","id":9086315,"avatar_url":"https://avatars.githubusercontent.com/u/9086315?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorGBrewster","html_url":"https://github.com/ConnorGBrewster","followers_url":"https://api.github.com/users/ConnorGBrewster/followers","following_url":"https://api.github.com/users/ConnorGBrewster/following{/other_user}","gists_url":"https://api.github.com/users/ConnorGBrewster/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorGBrewster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorGBrewster/subscriptions","organizations_url":"https://api.github.com/users/ConnorGBrewster/orgs","repos_url":"https://api.github.com/users/ConnorGBrewster/repos","events_url":"https://api.github.com/users/ConnorGBrewster/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorGBrewster/received_events","type":"User","site_admin":false},"assignees":[{"login":"ConnorGBrewster","id":9086315,"avatar_url":"https://avatars.githubusercontent.com/u/9086315?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorGBrewster","html_url":"https://github.com/ConnorGBrewster","followers_url":"https://api.github.com/users/ConnorGBrewster/followers","following_url":"https://api.github.com/users/ConnorGBrewster/following{/other_user}","gists_url":"https://api.github.com/users/ConnorGBrewster/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorGBrewster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorGBrewster/subscriptions","organizations_url":"https://api.github.com/users/ConnorGBrewster/orgs","repos_url":"https://api.github.com/users/ConnorGBrewster/repos","events_url":"https://api.github.com/users/ConnorGBrewster/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorGBrewster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-07-04T21:27:18Z","updated_at":"2016-07-04T22:48:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/12243","html_url":"https://github.com/servo/servo/pull/12243","diff_url":"https://github.com/servo/servo/pull/12243.diff","patch_url":"https://github.com/servo/servo/pull/12243.patch"},"body":"<!-- Please describe your changes on the following line: -->\r\nAdded a regex check to enforce project style guidelines. Added unit check. Catches:\r\n```\r\n}\r\nelse {\r\n```\r\nwhen it should be\r\n`} else {`\r\n\r\n--- \r\n<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->\r\n- [ ] `./mach build -d` does not report any errors (no core files changed)\r\n- [X] `./mach test-tidy` does not report any errors\r\n- [X] These changes fix #12234 (github issue number if applicable).\r\n\r\n<!-- Either: -->\r\n- [X] There are tests for these changes OR\r\n- [ ] These changes do not require tests because _____\r\n\r\n<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/servo/servo/12243)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/230361270","html_url":"https://github.com/servo/servo/pull/12243#issuecomment-230361270","issue_url":"https://api.github.com/repos/servo/servo/issues/12243","id":230361270,"user":{"login":"bors-servo","id":4368172,"avatar_url":"https://avatars.githubusercontent.com/u/4368172?v=3","gravatar_id":"","url":"https://api.github.com/users/bors-servo","html_url":"https://github.com/bors-servo","followers_url":"https://api.github.com/users/bors-servo/followers","following_url":"https://api.github.com/users/bors-servo/following{/other_user}","gists_url":"https://api.github.com/users/bors-servo/gists{/gist_id}","starred_url":"https://api.github.com/users/bors-servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors-servo/subscriptions","organizations_url":"https://api.github.com/users/bors-servo/orgs","repos_url":"https://api.github.com/users/bors-servo/repos","events_url":"https://api.github.com/users/bors-servo/events{/privacy}","received_events_url":"https://api.github.com/users/bors-servo/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T22:48:42Z","updated_at":"2016-07-04T22:48:42Z","body":":pushpin: Commit 6642358 has been approved by `ConnorGBrewster`\n\n<!-- @bors-servo r=ConnorGBrewster 664235821731c8d5eaf6d55852a9ee43b30a77f2 -->"}}
{"actor":{"display_login":"bors-servo"}}