{"action":"created","comment":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/comments/38030998","id":38030998,"diff_hunk":"@@ -0,0 +1,5 @@\n+$.validator.addMethod(\"phoneBR\", function(phone_number, element) {\n+\tphone_number = phone_number.replace(/\\s+/g, \"\");\n+\treturn this.optional(element) || phone_number.length > 7 &&\n+\t\tphone_number.match(/^(\\(?[0-9]{2,3}\\)?)? ?([0-9]{4,5})-?([0-9]{4})$/gm);\n+}, \"Digite um numero de telefone\");","path":"src/additional/phoneBR.js","position":5,"original_position":5,"commit_id":"a5c6a9956e452f55401be4b3fa2e0f202f0eb0c1","original_commit_id":"a5c6a9956e452f55401be4b3fa2e0f202f0eb0c1","user":{"login":"staabm","id":120441,"avatar_url":"https://avatars.githubusercontent.com/u/120441?v=3","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"body":"The default impl should contain a english error message","created_at":"2015-08-26T20:31:14Z","updated_at":"2015-08-26T20:31:14Z","html_url":"https://github.com/jzaefferer/jquery-validation/pull/1558#discussion_r38030998","pull_request_url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558","_links":{"self":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/comments/38030998"},"html":{"href":"https://github.com/jzaefferer/jquery-validation/pull/1558#discussion_r38030998"},"pull_request":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558"}}},"pull_request":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558","id":43403233,"html_url":"https://github.com/jzaefferer/jquery-validation/pull/1558","diff_url":"https://github.com/jzaefferer/jquery-validation/pull/1558.diff","patch_url":"https://github.com/jzaefferer/jquery-validation/pull/1558.patch","issue_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1558","number":1558,"state":"open","locked":false,"title":"Create phoneBR.js","user":{"login":"edakagawa","id":3246285,"avatar_url":"https://avatars.githubusercontent.com/u/3246285?v=3","gravatar_id":"","url":"https://api.github.com/users/edakagawa","html_url":"https://github.com/edakagawa","followers_url":"https://api.github.com/users/edakagawa/followers","following_url":"https://api.github.com/users/edakagawa/following{/other_user}","gists_url":"https://api.github.com/users/edakagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/edakagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edakagawa/subscriptions","organizations_url":"https://api.github.com/users/edakagawa/orgs","repos_url":"https://api.github.com/users/edakagawa/repos","events_url":"https://api.github.com/users/edakagawa/events{/privacy}","received_events_url":"https://api.github.com/users/edakagawa/received_events","type":"User","site_admin":false},"body":"Validates brazilian phone numbers (without international prefix).\r\n\r\nValida telefones brasileiros, fixos ou celulares, com ou sem DDD.\r\nEX: 11 91234-1234 OU (011) 1234-1234","created_at":"2015-08-26T13:45:16Z","updated_at":"2015-08-26T20:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b37b6a6242d9464075543e308bac3646849fc9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558/commits","review_comments_url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558/comments","review_comment_url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1558/comments","statuses_url":"https://api.github.com/repos/jzaefferer/jquery-validation/statuses/a5c6a9956e452f55401be4b3fa2e0f202f0eb0c1","head":{"label":"edakagawa:patch-1","ref":"patch-1","sha":"a5c6a9956e452f55401be4b3fa2e0f202f0eb0c1","user":{"login":"edakagawa","id":3246285,"avatar_url":"https://avatars.githubusercontent.com/u/3246285?v=3","gravatar_id":"","url":"https://api.github.com/users/edakagawa","html_url":"https://github.com/edakagawa","followers_url":"https://api.github.com/users/edakagawa/followers","following_url":"https://api.github.com/users/edakagawa/following{/other_user}","gists_url":"https://api.github.com/users/edakagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/edakagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edakagawa/subscriptions","organizations_url":"https://api.github.com/users/edakagawa/orgs","repos_url":"https://api.github.com/users/edakagawa/repos","events_url":"https://api.github.com/users/edakagawa/events{/privacy}","received_events_url":"https://api.github.com/users/edakagawa/received_events","type":"User","site_admin":false},"repo":{"id":41426886,"name":"jquery-validation","full_name":"edakagawa/jquery-validation","owner":{"login":"edakagawa","id":3246285,"avatar_url":"https://avatars.githubusercontent.com/u/3246285?v=3","gravatar_id":"","url":"https://api.github.com/users/edakagawa","html_url":"https://github.com/edakagawa","followers_url":"https://api.github.com/users/edakagawa/followers","following_url":"https://api.github.com/users/edakagawa/following{/other_user}","gists_url":"https://api.github.com/users/edakagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/edakagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edakagawa/subscriptions","organizations_url":"https://api.github.com/users/edakagawa/orgs","repos_url":"https://api.github.com/users/edakagawa/repos","events_url":"https://api.github.com/users/edakagawa/events{/privacy}","received_events_url":"https://api.github.com/users/edakagawa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edakagawa/jquery-validation","description":"jQuery Validation Plugin","fork":true,"url":"https://api.github.com/repos/edakagawa/jquery-validation","forks_url":"https://api.github.com/repos/edakagawa/jquery-validation/forks","keys_url":"https://api.github.com/repos/edakagawa/jquery-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edakagawa/jquery-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edakagawa/jquery-validation/teams","hooks_url":"https://api.github.com/repos/edakagawa/jquery-validation/hooks","issue_events_url":"https://api.github.com/repos/edakagawa/jquery-validation/issues/events{/number}","events_url":"https://api.github.com/repos/edakagawa/jquery-validation/events","assignees_url":"https://api.github.com/repos/edakagawa/jquery-validation/assignees{/user}","branches_url":"https://api.github.com/repos/edakagawa/jquery-validation/branches{/branch}","tags_url":"https://api.github.com/repos/edakagawa/jquery-validation/tags","blobs_url":"https://api.github.com/repos/edakagawa/jquery-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edakagawa/jquery-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edakagawa/jquery-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edakagawa/jquery-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edakagawa/jquery-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/edakagawa/jquery-validation/languages","stargazers_url":"https://api.github.com/repos/edakagawa/jquery-validation/stargazers","contributors_url":"https://api.github.com/repos/edakagawa/jquery-validation/contributors","subscribers_url":"https://api.github.com/repos/edakagawa/jquery-validation/subscribers","subscription_url":"https://api.github.com/repos/edakagawa/jquery-validation/subscription","commits_url":"https://api.github.com/repos/edakagawa/jquery-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edakagawa/jquery-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edakagawa/jquery-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edakagawa/jquery-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edakagawa/jquery-validation/contents/{+path}","compare_url":"https://api.github.com/repos/edakagawa/jquery-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edakagawa/jquery-validation/merges","archive_url":"https://api.github.com/repos/edakagawa/jquery-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edakagawa/jquery-validation/downloads","issues_url":"https://api.github.com/repos/edakagawa/jquery-validation/issues{/number}","pulls_url":"https://api.github.com/repos/edakagawa/jquery-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/edakagawa/jquery-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/edakagawa/jquery-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edakagawa/jquery-validation/labels{/name}","releases_url":"https://api.github.com/repos/edakagawa/jquery-validation/releases{/id}","created_at":"2015-08-26T13:23:04Z","updated_at":"2015-08-26T13:23:05Z","pushed_at":"2015-08-26T13:38:44Z","git_url":"git://github.com/edakagawa/jquery-validation.git","ssh_url":"git@github.com:edakagawa/jquery-validation.git","clone_url":"https://github.com/edakagawa/jquery-validation.git","svn_url":"https://github.com/edakagawa/jquery-validation","homepage":"http://jqueryvalidation.org/","size":12486,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jzaefferer:master","ref":"master","sha":"f8e4be597967d0971d0f76912f183cdf1cda46b5","user":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"repo":{"id":648414,"name":"jquery-validation","full_name":"jzaefferer/jquery-validation","owner":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jzaefferer/jquery-validation","description":"jQuery Validation Plugin","fork":false,"url":"https://api.github.com/repos/jzaefferer/jquery-validation","forks_url":"https://api.github.com/repos/jzaefferer/jquery-validation/forks","keys_url":"https://api.github.com/repos/jzaefferer/jquery-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jzaefferer/jquery-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jzaefferer/jquery-validation/teams","hooks_url":"https://api.github.com/repos/jzaefferer/jquery-validation/hooks","issue_events_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/events{/number}","events_url":"https://api.github.com/repos/jzaefferer/jquery-validation/events","assignees_url":"https://api.github.com/repos/jzaefferer/jquery-validation/assignees{/user}","branches_url":"https://api.github.com/repos/jzaefferer/jquery-validation/branches{/branch}","tags_url":"https://api.github.com/repos/jzaefferer/jquery-validation/tags","blobs_url":"https://api.github.com/repos/jzaefferer/jquery-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jzaefferer/jquery-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jzaefferer/jquery-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/jzaefferer/jquery-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jzaefferer/jquery-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/jzaefferer/jquery-validation/languages","stargazers_url":"https://api.github.com/repos/jzaefferer/jquery-validation/stargazers","contributors_url":"https://api.github.com/repos/jzaefferer/jquery-validation/contributors","subscribers_url":"https://api.github.com/repos/jzaefferer/jquery-validation/subscribers","subscription_url":"https://api.github.com/repos/jzaefferer/jquery-validation/subscription","commits_url":"https://api.github.com/repos/jzaefferer/jquery-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/jzaefferer/jquery-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/jzaefferer/jquery-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/jzaefferer/jquery-validation/contents/{+path}","compare_url":"https://api.github.com/repos/jzaefferer/jquery-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jzaefferer/jquery-validation/merges","archive_url":"https://api.github.com/repos/jzaefferer/jquery-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jzaefferer/jquery-validation/downloads","issues_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues{/number}","pulls_url":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/jzaefferer/jquery-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/jzaefferer/jquery-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jzaefferer/jquery-validation/labels{/name}","releases_url":"https://api.github.com/repos/jzaefferer/jquery-validation/releases{/id}","created_at":"2010-05-05T13:40:20Z","updated_at":"2015-08-26T19:47:43Z","pushed_at":"2015-08-26T13:45:17Z","git_url":"git://github.com/jzaefferer/jquery-validation.git","ssh_url":"git@github.com:jzaefferer/jquery-validation.git","clone_url":"https://github.com/jzaefferer/jquery-validation.git","svn_url":"https://github.com/jzaefferer/jquery-validation","homepage":"http://jqueryvalidation.org/","size":12486,"stargazers_count":5442,"watchers_count":5442,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1759,"mirror_url":null,"open_issues_count":74,"forks":1759,"open_issues":74,"watchers":5442,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558"},"html":{"href":"https://github.com/jzaefferer/jquery-validation/pull/1558"},"issue":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1558"},"comments":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/1558/comments"},"review_comments":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558/comments"},"review_comment":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/pulls/1558/commits"},"statuses":{"href":"https://api.github.com/repos/jzaefferer/jquery-validation/statuses/a5c6a9956e452f55401be4b3fa2e0f202f0eb0c1"}}}}