{"action":"created","comment":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/59335519","id":59335519,"diff_hunk":"@@ -58,6 +58,15 @@ class UniqueValidator extends Validator\n      * is the [[\\yii\\db\\Query|Query]] object that you can modify in the function.\n      */\n     public $filter;\n+\t/**\n+     * @var string the user-defined error message used when `targetAttribute` is an array. It may contain the following placeholders which\n+     * will be replaced accordingly by the validator:\n+     *","path":"framework/validators/UniqueValidator.php","position":7,"original_position":7,"commit_id":"37884ef8df719beb127efc5cab8b53b2b1fb7bec","original_commit_id":"37884ef8df719beb127efc5cab8b53b2b1fb7bec","user":{"login":"PowerGamer1","id":8275897,"avatar_url":"https://avatars.githubusercontent.com/u/8275897?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerGamer1","html_url":"https://github.com/PowerGamer1","followers_url":"https://api.github.com/users/PowerGamer1/followers","following_url":"https://api.github.com/users/PowerGamer1/following{/other_user}","gists_url":"https://api.github.com/users/PowerGamer1/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerGamer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerGamer1/subscriptions","organizations_url":"https://api.github.com/users/PowerGamer1/orgs","repos_url":"https://api.github.com/users/PowerGamer1/repos","events_url":"https://api.github.com/users/PowerGamer1/events{/privacy}","received_events_url":"https://api.github.com/users/PowerGamer1/received_events","type":"User","site_admin":false},"body":"Makes sense, but just so you know I copy-pasted this from `public $message` in `\\yii\\validators\\Validator` so you may want to fix it there (and probably many other validator classes) too.","created_at":"2016-04-12T08:04:59Z","updated_at":"2016-04-12T08:05:00Z","html_url":"https://github.com/yiisoft/yii2/pull/11323#discussion_r59335519","pull_request_url":"https://api.github.com/repos/yiisoft/yii2/pulls/11323","_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/59335519"},"html":{"href":"https://github.com/yiisoft/yii2/pull/11323#discussion_r59335519"},"pull_request":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/11323"}}},"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/11323","id":65960478,"html_url":"https://github.com/yiisoft/yii2/pull/11323","diff_url":"https://github.com/yiisoft/yii2/pull/11323.diff","patch_url":"https://github.com/yiisoft/yii2/pull/11323.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/11323","number":11323,"state":"open","locked":false,"title":"Update UniqueValidator.php","user":{"login":"PowerGamer1","id":8275897,"avatar_url":"https://avatars.githubusercontent.com/u/8275897?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerGamer1","html_url":"https://github.com/PowerGamer1","followers_url":"https://api.github.com/users/PowerGamer1/followers","following_url":"https://api.github.com/users/PowerGamer1/following{/other_user}","gists_url":"https://api.github.com/users/PowerGamer1/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerGamer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerGamer1/subscriptions","organizations_url":"https://api.github.com/users/PowerGamer1/orgs","repos_url":"https://api.github.com/users/PowerGamer1/repos","events_url":"https://api.github.com/users/PowerGamer1/events{/privacy}","received_events_url":"https://api.github.com/users/PowerGamer1/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Is bugfix?    | yes\r\n| New feature?  | yes\r\n| Breaks BC?    | no\r\n| Tests pass?   | yes\r\n| Fixed issues  | 11322\r\n\r\nFix for https://github.com/yiisoft/yii2/issues/11322\r\nNeeds many language translations for new error message: 'Combination [{valueCombo}] of [{attributeCombo}] has already been taken.'","created_at":"2016-04-11T09:03:49Z","updated_at":"2016-04-12T08:05:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9e58c7aec1563513ebd832cc2a5256898c7be7d","assignee":null,"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/17","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.9","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/17/labels","id":1580065,"number":17,"title":"2.0.9","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":1,"state":"open","created_at":"2016-02-12T16:35:34Z","updated_at":"2016-04-12T05:39:46Z","due_on":"2016-06-18T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/yiisoft/yii2/pulls/11323/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2/pulls/11323/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11323/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/37884ef8df719beb127efc5cab8b53b2b1fb7bec","head":{"label":"PowerGamer1:patch-3","ref":"patch-3","sha":"37884ef8df719beb127efc5cab8b53b2b1fb7bec","user":{"login":"PowerGamer1","id":8275897,"avatar_url":"https://avatars.githubusercontent.com/u/8275897?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerGamer1","html_url":"https://github.com/PowerGamer1","followers_url":"https://api.github.com/users/PowerGamer1/followers","following_url":"https://api.github.com/users/PowerGamer1/following{/other_user}","gists_url":"https://api.github.com/users/PowerGamer1/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerGamer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerGamer1/subscriptions","organizations_url":"https://api.github.com/users/PowerGamer1/orgs","repos_url":"https://api.github.com/users/PowerGamer1/repos","events_url":"https://api.github.com/users/PowerGamer1/events{/privacy}","received_events_url":"https://api.github.com/users/PowerGamer1/received_events","type":"User","site_admin":false},"repo":{"id":27233175,"name":"yii2","full_name":"PowerGamer1/yii2","owner":{"login":"PowerGamer1","id":8275897,"avatar_url":"https://avatars.githubusercontent.com/u/8275897?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerGamer1","html_url":"https://github.com/PowerGamer1","followers_url":"https://api.github.com/users/PowerGamer1/followers","following_url":"https://api.github.com/users/PowerGamer1/following{/other_user}","gists_url":"https://api.github.com/users/PowerGamer1/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerGamer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerGamer1/subscriptions","organizations_url":"https://api.github.com/users/PowerGamer1/orgs","repos_url":"https://api.github.com/users/PowerGamer1/repos","events_url":"https://api.github.com/users/PowerGamer1/events{/privacy}","received_events_url":"https://api.github.com/users/PowerGamer1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PowerGamer1/yii2","description":"Yii 2 framework main development repo","fork":true,"url":"https://api.github.com/repos/PowerGamer1/yii2","forks_url":"https://api.github.com/repos/PowerGamer1/yii2/forks","keys_url":"https://api.github.com/repos/PowerGamer1/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerGamer1/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerGamer1/yii2/teams","hooks_url":"https://api.github.com/repos/PowerGamer1/yii2/hooks","issue_events_url":"https://api.github.com/repos/PowerGamer1/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/PowerGamer1/yii2/events","assignees_url":"https://api.github.com/repos/PowerGamer1/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/PowerGamer1/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/PowerGamer1/yii2/tags","blobs_url":"https://api.github.com/repos/PowerGamer1/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerGamer1/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerGamer1/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerGamer1/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerGamer1/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerGamer1/yii2/languages","stargazers_url":"https://api.github.com/repos/PowerGamer1/yii2/stargazers","contributors_url":"https://api.github.com/repos/PowerGamer1/yii2/contributors","subscribers_url":"https://api.github.com/repos/PowerGamer1/yii2/subscribers","subscription_url":"https://api.github.com/repos/PowerGamer1/yii2/subscription","commits_url":"https://api.github.com/repos/PowerGamer1/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerGamer1/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerGamer1/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerGamer1/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerGamer1/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/PowerGamer1/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerGamer1/yii2/merges","archive_url":"https://api.github.com/repos/PowerGamer1/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerGamer1/yii2/downloads","issues_url":"https://api.github.com/repos/PowerGamer1/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/PowerGamer1/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerGamer1/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerGamer1/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerGamer1/yii2/labels{/name}","releases_url":"https://api.github.com/repos/PowerGamer1/yii2/releases{/id}","deployments_url":"https://api.github.com/repos/PowerGamer1/yii2/deployments","created_at":"2014-11-27T16:24:19Z","updated_at":"2014-11-27T16:24:24Z","pushed_at":"2016-04-11T14:32:01Z","git_url":"git://github.com/PowerGamer1/yii2.git","ssh_url":"git@github.com:PowerGamer1/yii2.git","clone_url":"https://github.com/PowerGamer1/yii2.git","svn_url":"https://github.com/PowerGamer1/yii2","homepage":"http://www.yiiframework.com","size":40169,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"yiisoft:master","ref":"master","sha":"88d79f78eb9c0f8bd4c33160c264bce78f44455c","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3431193,"name":"yii2","full_name":"yiisoft/yii2","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2","description":"Yii 2 framework main development repo","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2","forks_url":"https://api.github.com/repos/yiisoft/yii2/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2/releases{/id}","deployments_url":"https://api.github.com/repos/yiisoft/yii2/deployments","created_at":"2012-02-13T15:32:36Z","updated_at":"2016-04-12T05:48:08Z","pushed_at":"2016-04-12T07:37:39Z","git_url":"git://github.com/yiisoft/yii2.git","ssh_url":"git@github.com:yiisoft/yii2.git","clone_url":"https://github.com/yiisoft/yii2.git","svn_url":"https://github.com/yiisoft/yii2","homepage":"http://www.yiiframework.com","size":49093,"stargazers_count":7882,"watchers_count":7882,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4607,"mirror_url":null,"open_issues_count":1037,"forks":4607,"open_issues":1037,"watchers":7882,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/11323"},"html":{"href":"https://github.com/yiisoft/yii2/pull/11323"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/11323"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/11323/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/11323/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/11323/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2/statuses/37884ef8df719beb127efc5cab8b53b2b1fb7bec"}}}}