{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/37229186","id":37229186,"diff_hunk":"@@ -0,0 +1,107 @@\n+Bic\n+===\n+\n+.. versionadded:: 2.8\n+    The Bic constraint was introduced in Symfony 2.8.\n+\n+This constraint is used to ensure that a value has the proper format of an\n+`Business Identifier Code (BIC)`_. BIC is an internationally agreed means to\n+uniquely identify both financial and non-financial institutions.\n+\n++----------------+-----------------------------------------------------------------------+\n+| Applies to     | :ref:`property or method<validation-property-target>`                 |\n++----------------+-----------------------------------------------------------------------+\n+| Options        | - `message`_                                                          |\n+|                | - `payload`_                                                          |\n++----------------+-----------------------------------------------------------------------+\n+| Class          | :class:`Symfony\\\\Component\\\\Validator\\\\Constraints\\\\Bic`              |\n++----------------+-----------------------------------------------------------------------+\n+| Validator      | :class:`Symfony\\\\Component\\\\Validator\\\\Constraints\\\\BicValidator`     |\n++----------------+-----------------------------------------------------------------------+\n+\n+Basic Usage\n+-----------\n+\n+To use the Bic validator, simply apply it to a property on an object that\n+will contain a Business Identifier Code (BIC).\n+\n+.. configuration-block::\n+\n+    .. code-block:: php-annotations\n+\n+        // src/Acme/AppBundle/Entity/Transaction.php","path":"reference/constraints/Bic.rst","position":32,"original_position":32,"commit_id":"b69f48dbce2d897dd63149114cdcc31f377905a5","original_commit_id":"b69f48dbce2d897dd63149114cdcc31f377905a5","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"body":"The `Acme` part of the namespace and directory should be completely removed.","created_at":"2015-08-17T19:53:26Z","updated_at":"2015-08-17T19:53:26Z","html_url":"https://github.com/symfony/symfony-docs/pull/5623#discussion_r37229186","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/37229186"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5623#discussion_r37229186"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623","id":42246222,"html_url":"https://github.com/symfony/symfony-docs/pull/5623","diff_url":"https://github.com/symfony/symfony-docs/pull/5623.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/5623.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5623","number":5623,"state":"open","locked":false,"title":"[Validator] added BIC validator","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| Doc fix?      | no\r\n| New docs?     | yes, PR: https://github.com/symfony/symfony/pull/15519\r\n| Applies to    | 2.8\r\n| Fixed tickets | none","created_at":"2015-08-12T14:32:07Z","updated_at":"2015-08-17T19:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"353396b76c2db64d0b3bb3bfeb209afeea8e2c84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5623/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/b69f48dbce2d897dd63149114cdcc31f377905a5","head":{"label":"mvhirsch:bic_validator_constraint","ref":"bic_validator_constraint","sha":"b69f48dbce2d897dd63149114cdcc31f377905a5","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":5080603,"name":"symfony-docs","full_name":"mvhirsch/symfony-docs","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-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/mvhirsch/symfony-docs","forks_url":"https://api.github.com/repos/mvhirsch/symfony-docs/forks","keys_url":"https://api.github.com/repos/mvhirsch/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mvhirsch/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mvhirsch/symfony-docs/teams","hooks_url":"https://api.github.com/repos/mvhirsch/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/mvhirsch/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/mvhirsch/symfony-docs/events","assignees_url":"https://api.github.com/repos/mvhirsch/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/mvhirsch/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/mvhirsch/symfony-docs/tags","blobs_url":"https://api.github.com/repos/mvhirsch/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mvhirsch/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mvhirsch/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mvhirsch/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mvhirsch/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/mvhirsch/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/mvhirsch/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/mvhirsch/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/mvhirsch/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/mvhirsch/symfony-docs/subscription","commits_url":"https://api.github.com/repos/mvhirsch/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mvhirsch/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mvhirsch/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mvhirsch/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mvhirsch/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/mvhirsch/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mvhirsch/symfony-docs/merges","archive_url":"https://api.github.com/repos/mvhirsch/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mvhirsch/symfony-docs/downloads","issues_url":"https://api.github.com/repos/mvhirsch/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/mvhirsch/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/mvhirsch/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/mvhirsch/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mvhirsch/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/mvhirsch/symfony-docs/releases{/id}","created_at":"2012-07-17T10:50:52Z","updated_at":"2015-08-12T14:17:41Z","pushed_at":"2015-08-14T13:24:52Z","git_url":"git://github.com/mvhirsch/symfony-docs.git","ssh_url":"git@github.com:mvhirsch/symfony-docs.git","clone_url":"https://github.com/mvhirsch/symfony-docs.git","svn_url":"https://github.com/mvhirsch/symfony-docs","homepage":"http://symfony.com/doc/2.0/","size":30902,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"master"}},"base":{"label":"symfony:2.8","ref":"2.8","sha":"638374088ad24619bfa78d96ed65582728445083","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":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","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-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","created_at":"2010-02-17T08:43:51Z","updated_at":"2015-08-17T13:25:20Z","pushed_at":"2015-08-17T18:09:22Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc","size":62176,"stargazers_count":1032,"watchers_count":1032,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1982,"mirror_url":null,"open_issues_count":272,"forks":1982,"open_issues":272,"watchers":1032,"default_branch":"2.8"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/5623"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5623"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/5623/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/5623/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/b69f48dbce2d897dd63149114cdcc31f377905a5"}}}}