{"action":"created","comment":{"url":"https://api.github.com/repos/realm/SwiftLint/pulls/comments/92116215","pull_request_review_id":12624222,"id":92116215,"diff_hunk":"@@ -0,0 +1,25 @@\n+//\n+//  String+XML.swift\n+//  SwiftLint\n+//\n+//  Created by Fabian Ehrentraud on 12/12/16.\n+//  Copyright © 2016 Realm. All rights reserved.\n+//\n+\n+extension String {\n+    func escapedForXml() -> String {","path":"Source/SwiftLintFramework/Extensions/String+XML.swift","position":10,"original_position":10,"commit_id":"fd74d68fa51f48dc00e4ec2e7cf63f254ac1a4b1","original_commit_id":"fd74d68fa51f48dc00e4ec2e7cf63f254ac1a4b1","user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"body":"would be nice if `XML` was capitalized: `escapedForXML()`","created_at":"2016-12-13T08:16:54Z","updated_at":"2016-12-13T08:17:27Z","html_url":"https://github.com/realm/SwiftLint/pull/969#discussion_r92116215","pull_request_url":"https://api.github.com/repos/realm/SwiftLint/pulls/969","_links":{"self":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/comments/92116215"},"html":{"href":"https://github.com/realm/SwiftLint/pull/969#discussion_r92116215"},"pull_request":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/969"}}},"pull_request":{"url":"https://api.github.com/repos/realm/SwiftLint/pulls/969","id":97522251,"html_url":"https://github.com/realm/SwiftLint/pull/969","diff_url":"https://github.com/realm/SwiftLint/pull/969.diff","patch_url":"https://github.com/realm/SwiftLint/pull/969.patch","issue_url":"https://api.github.com/repos/realm/SwiftLint/issues/969","number":969,"state":"open","locked":false,"title":"Fix XML Reporters not Escaping Characters","user":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"body":"Fixes #968.","created_at":"2016-12-12T09:53:02Z","updated_at":"2016-12-13T08:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f9d34d5b7c415ed2df84ebbd889826901887158","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/realm/SwiftLint/pulls/969/commits","review_comments_url":"https://api.github.com/repos/realm/SwiftLint/pulls/969/comments","review_comment_url":"https://api.github.com/repos/realm/SwiftLint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/SwiftLint/issues/969/comments","statuses_url":"https://api.github.com/repos/realm/SwiftLint/statuses/fd74d68fa51f48dc00e4ec2e7cf63f254ac1a4b1","head":{"label":"fabb:fix_xml","ref":"fix_xml","sha":"fd74d68fa51f48dc00e4ec2e7cf63f254ac1a4b1","user":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"repo":{"id":76237358,"name":"SwiftLint","full_name":"fabb/SwiftLint","owner":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabb/SwiftLint","description":"A tool to enforce Swift style and conventions.","fork":true,"url":"https://api.github.com/repos/fabb/SwiftLint","forks_url":"https://api.github.com/repos/fabb/SwiftLint/forks","keys_url":"https://api.github.com/repos/fabb/SwiftLint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabb/SwiftLint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabb/SwiftLint/teams","hooks_url":"https://api.github.com/repos/fabb/SwiftLint/hooks","issue_events_url":"https://api.github.com/repos/fabb/SwiftLint/issues/events{/number}","events_url":"https://api.github.com/repos/fabb/SwiftLint/events","assignees_url":"https://api.github.com/repos/fabb/SwiftLint/assignees{/user}","branches_url":"https://api.github.com/repos/fabb/SwiftLint/branches{/branch}","tags_url":"https://api.github.com/repos/fabb/SwiftLint/tags","blobs_url":"https://api.github.com/repos/fabb/SwiftLint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabb/SwiftLint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabb/SwiftLint/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabb/SwiftLint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabb/SwiftLint/statuses/{sha}","languages_url":"https://api.github.com/repos/fabb/SwiftLint/languages","stargazers_url":"https://api.github.com/repos/fabb/SwiftLint/stargazers","contributors_url":"https://api.github.com/repos/fabb/SwiftLint/contributors","subscribers_url":"https://api.github.com/repos/fabb/SwiftLint/subscribers","subscription_url":"https://api.github.com/repos/fabb/SwiftLint/subscription","commits_url":"https://api.github.com/repos/fabb/SwiftLint/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabb/SwiftLint/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabb/SwiftLint/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabb/SwiftLint/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabb/SwiftLint/contents/{+path}","compare_url":"https://api.github.com/repos/fabb/SwiftLint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabb/SwiftLint/merges","archive_url":"https://api.github.com/repos/fabb/SwiftLint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabb/SwiftLint/downloads","issues_url":"https://api.github.com/repos/fabb/SwiftLint/issues{/number}","pulls_url":"https://api.github.com/repos/fabb/SwiftLint/pulls{/number}","milestones_url":"https://api.github.com/repos/fabb/SwiftLint/milestones{/number}","notifications_url":"https://api.github.com/repos/fabb/SwiftLint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabb/SwiftLint/labels{/name}","releases_url":"https://api.github.com/repos/fabb/SwiftLint/releases{/id}","deployments_url":"https://api.github.com/repos/fabb/SwiftLint/deployments","created_at":"2016-12-12T08:33:23Z","updated_at":"2016-12-12T08:33:25Z","pushed_at":"2016-12-13T07:48:06Z","git_url":"git://github.com/fabb/SwiftLint.git","ssh_url":"git@github.com:fabb/SwiftLint.git","clone_url":"https://github.com/fabb/SwiftLint.git","svn_url":"https://github.com/fabb/SwiftLint","homepage":"https://realm.io","size":2666,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"realm:master","ref":"master","sha":"288a3ec4585e531508a449a3808587e8017cb271","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":35732214,"name":"SwiftLint","full_name":"realm/SwiftLint","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/SwiftLint","description":"A tool to enforce Swift style and conventions.","fork":false,"url":"https://api.github.com/repos/realm/SwiftLint","forks_url":"https://api.github.com/repos/realm/SwiftLint/forks","keys_url":"https://api.github.com/repos/realm/SwiftLint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/SwiftLint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/SwiftLint/teams","hooks_url":"https://api.github.com/repos/realm/SwiftLint/hooks","issue_events_url":"https://api.github.com/repos/realm/SwiftLint/issues/events{/number}","events_url":"https://api.github.com/repos/realm/SwiftLint/events","assignees_url":"https://api.github.com/repos/realm/SwiftLint/assignees{/user}","branches_url":"https://api.github.com/repos/realm/SwiftLint/branches{/branch}","tags_url":"https://api.github.com/repos/realm/SwiftLint/tags","blobs_url":"https://api.github.com/repos/realm/SwiftLint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/SwiftLint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/SwiftLint/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/SwiftLint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/SwiftLint/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/SwiftLint/languages","stargazers_url":"https://api.github.com/repos/realm/SwiftLint/stargazers","contributors_url":"https://api.github.com/repos/realm/SwiftLint/contributors","subscribers_url":"https://api.github.com/repos/realm/SwiftLint/subscribers","subscription_url":"https://api.github.com/repos/realm/SwiftLint/subscription","commits_url":"https://api.github.com/repos/realm/SwiftLint/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/SwiftLint/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/SwiftLint/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/SwiftLint/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/SwiftLint/contents/{+path}","compare_url":"https://api.github.com/repos/realm/SwiftLint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/SwiftLint/merges","archive_url":"https://api.github.com/repos/realm/SwiftLint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/SwiftLint/downloads","issues_url":"https://api.github.com/repos/realm/SwiftLint/issues{/number}","pulls_url":"https://api.github.com/repos/realm/SwiftLint/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/SwiftLint/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/SwiftLint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/SwiftLint/labels{/name}","releases_url":"https://api.github.com/repos/realm/SwiftLint/releases{/id}","deployments_url":"https://api.github.com/repos/realm/SwiftLint/deployments","created_at":"2015-05-16T16:59:31Z","updated_at":"2016-12-13T07:13:01Z","pushed_at":"2016-12-13T08:12:45Z","git_url":"git://github.com/realm/SwiftLint.git","ssh_url":"git@github.com:realm/SwiftLint.git","clone_url":"https://github.com/realm/SwiftLint.git","svn_url":"https://github.com/realm/SwiftLint","homepage":"https://realm.io","size":3350,"stargazers_count":5302,"watchers_count":5302,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":390,"mirror_url":null,"open_issues_count":146,"forks":390,"open_issues":146,"watchers":5302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/969"},"html":{"href":"https://github.com/realm/SwiftLint/pull/969"},"issue":{"href":"https://api.github.com/repos/realm/SwiftLint/issues/969"},"comments":{"href":"https://api.github.com/repos/realm/SwiftLint/issues/969/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/969/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/SwiftLint/pulls/969/commits"},"statuses":{"href":"https://api.github.com/repos/realm/SwiftLint/statuses/fd74d68fa51f48dc00e4ec2e7cf63f254ac1a4b1"}}}}
{"actor":{"display_login":"jpsim"}}