{"action":"opened","number":16806,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/16806","id":52398824,"html_url":"https://github.com/symfony/symfony/pull/16806","diff_url":"https://github.com/symfony/symfony/pull/16806.diff","patch_url":"https://github.com/symfony/symfony/pull/16806.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16806","number":16806,"state":"open","locked":false,"title":"[Validator] BicValidator - fixed raising violations to a maximum of one","user":{"login":"mvhirsch","id":573047,"avatar_url":"https://avatars.githubusercontent.com/u/573047?v=3","gravatar_id":"","url":"https://api.github.com/users/mvhirsch","html_url":"https://github.com/mvhirsch","followers_url":"https://api.github.com/users/mvhirsch/followers","following_url":"https://api.github.com/users/mvhirsch/following{/other_user}","gists_url":"https://api.github.com/users/mvhirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/mvhirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvhirsch/subscriptions","organizations_url":"https://api.github.com/users/mvhirsch/orgs","repos_url":"https://api.github.com/users/mvhirsch/repos","events_url":"https://api.github.com/users/mvhirsch/events{/privacy}","received_events_url":"https://api.github.com/users/mvhirsch/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | none\r\n| License       | MIT\r\n| Doc PR        | none\r\n\r\nI just found a bug while using the constraint. For example my value \"a\" will raise three violations at one time. I just expected to get a maximum number of one.\r\nThis PR will fix that behavior.\r\n\r\nI do not know how I can easily add Unit-Tests for that, can someone please help me?","created_at":"2015-12-02T14:02:55Z","updated_at":"2015-12-02T14:02:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/16806/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/16806/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16806/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/7860bb463d388efa10993bc12ff58b4f80f8d6c1","head":{"label":"mvhirsch:fix_bic_validation","ref":"fix_bic_validation","sha":"7860bb463d388efa10993bc12ff58b4f80f8d6c1","user":{"login":"mvhirsch","id":573047,"avatar_url":"https://avatars.githubusercontent.com/u/573047?v=3","gravatar_id":"","url":"https://api.github.com/users/mvhirsch","html_url":"https://github.com/mvhirsch","followers_url":"https://api.github.com/users/mvhirsch/followers","following_url":"https://api.github.com/users/mvhirsch/following{/other_user}","gists_url":"https://api.github.com/users/mvhirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/mvhirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvhirsch/subscriptions","organizations_url":"https://api.github.com/users/mvhirsch/orgs","repos_url":"https://api.github.com/users/mvhirsch/repos","events_url":"https://api.github.com/users/mvhirsch/events{/privacy}","received_events_url":"https://api.github.com/users/mvhirsch/received_events","type":"User","site_admin":false},"repo":{"id":40600626,"name":"symfony","full_name":"mvhirsch/symfony","owner":{"login":"mvhirsch","id":573047,"avatar_url":"https://avatars.githubusercontent.com/u/573047?v=3","gravatar_id":"","url":"https://api.github.com/users/mvhirsch","html_url":"https://github.com/mvhirsch","followers_url":"https://api.github.com/users/mvhirsch/followers","following_url":"https://api.github.com/users/mvhirsch/following{/other_user}","gists_url":"https://api.github.com/users/mvhirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/mvhirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvhirsch/subscriptions","organizations_url":"https://api.github.com/users/mvhirsch/orgs","repos_url":"https://api.github.com/users/mvhirsch/repos","events_url":"https://api.github.com/users/mvhirsch/events{/privacy}","received_events_url":"https://api.github.com/users/mvhirsch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mvhirsch/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/mvhirsch/symfony","forks_url":"https://api.github.com/repos/mvhirsch/symfony/forks","keys_url":"https://api.github.com/repos/mvhirsch/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mvhirsch/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mvhirsch/symfony/teams","hooks_url":"https://api.github.com/repos/mvhirsch/symfony/hooks","issue_events_url":"https://api.github.com/repos/mvhirsch/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/mvhirsch/symfony/events","assignees_url":"https://api.github.com/repos/mvhirsch/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/mvhirsch/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/mvhirsch/symfony/tags","blobs_url":"https://api.github.com/repos/mvhirsch/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mvhirsch/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mvhirsch/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/mvhirsch/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mvhirsch/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/mvhirsch/symfony/languages","stargazers_url":"https://api.github.com/repos/mvhirsch/symfony/stargazers","contributors_url":"https://api.github.com/repos/mvhirsch/symfony/contributors","subscribers_url":"https://api.github.com/repos/mvhirsch/symfony/subscribers","subscription_url":"https://api.github.com/repos/mvhirsch/symfony/subscription","commits_url":"https://api.github.com/repos/mvhirsch/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/mvhirsch/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/mvhirsch/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/mvhirsch/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/mvhirsch/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/mvhirsch/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mvhirsch/symfony/merges","archive_url":"https://api.github.com/repos/mvhirsch/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mvhirsch/symfony/downloads","issues_url":"https://api.github.com/repos/mvhirsch/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/mvhirsch/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/mvhirsch/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/mvhirsch/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mvhirsch/symfony/labels{/name}","releases_url":"https://api.github.com/repos/mvhirsch/symfony/releases{/id}","created_at":"2015-08-12T12:58:04Z","updated_at":"2015-08-12T12:58:17Z","pushed_at":"2015-12-02T13:59:32Z","git_url":"git://github.com/mvhirsch/symfony.git","ssh_url":"git@github.com:mvhirsch/symfony.git","clone_url":"https://github.com/mvhirsch/symfony.git","svn_url":"https://github.com/mvhirsch/symfony","homepage":"symfony.com","size":63252,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"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":"2.8"}},"base":{"label":"symfony:2.8","ref":"2.8","sha":"bc642fb6330958a8db383fcbc54b8d23892b2cc9","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":458058,"name":"symfony","full_name":"symfony/symfony","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","created_at":"2010-01-04T14:21:21Z","updated_at":"2015-12-02T11:38:42Z","pushed_at":"2015-12-02T13:35:52Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":96639,"stargazers_count":11234,"watchers_count":11234,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4415,"mirror_url":null,"open_issues_count":835,"forks":4415,"open_issues":835,"watchers":11234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/16806"},"html":{"href":"https://github.com/symfony/symfony/pull/16806"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/16806"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/16806/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/16806/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/16806/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/7860bb463d388efa10993bc12ff58b4f80f8d6c1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}