{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19516","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19516/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19516/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19516/events","html_url":"https://github.com/symfony/symfony/issues/19516","id":169080062,"number":19516,"title":"Double validation for constraints on Interface","user":{"login":"steevanb","id":5063383,"avatar_url":"https://avatars.githubusercontent.com/u/5063383?v=3","gravatar_id":"","url":"https://api.github.com/users/steevanb","html_url":"https://github.com/steevanb","followers_url":"https://api.github.com/users/steevanb/followers","following_url":"https://api.github.com/users/steevanb/following{/other_user}","gists_url":"https://api.github.com/users/steevanb/gists{/gist_id}","starred_url":"https://api.github.com/users/steevanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steevanb/subscriptions","organizations_url":"https://api.github.com/users/steevanb/orgs","repos_url":"https://api.github.com/users/steevanb/repos","events_url":"https://api.github.com/users/steevanb/events{/privacy}","received_events_url":"https://api.github.com/users/steevanb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Validator","name":"Validator","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-03T08:52:24Z","updated_at":"2016-08-08T20:06:51Z","closed_at":null,"body":"Hi !\r\n\r\nI have this kind of code :\r\n```php\r\ninterface FooInterface {}\r\nabstract class AbstractBar implements FooInterface{}\r\nclass Baz extends AbstractBar {}\r\n\r\n$object = new Baz();\r\n$validator->validate($object, null, ['validator_group']);\r\n```\r\nIf i create a constraints validator on AbstractBar, like this :\r\n```yml\r\nAbstractBar:\r\n    constraints:\r\n        - MyConstraint:\r\n            groups: [validator_group]\r\n```\r\nMyConstraint is called once.\r\n\r\nBut if i just change AbstractBar by FooInterface in config :\r\n```yml\r\nFooInterface:\r\n    constraints:\r\n        - MyConstraint:\r\n            groups: [validator_group]\r\n```\r\nMyConstraint is called twice !\r\n\r\nI can't search why for now, someone could do it please ?\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/238360142","html_url":"https://github.com/symfony/symfony/issues/19516#issuecomment-238360142","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19516","id":238360142,"user":{"login":"dmaicher","id":921145,"avatar_url":"https://avatars.githubusercontent.com/u/921145?v=3","gravatar_id":"","url":"https://api.github.com/users/dmaicher","html_url":"https://github.com/dmaicher","followers_url":"https://api.github.com/users/dmaicher/followers","following_url":"https://api.github.com/users/dmaicher/following{/other_user}","gists_url":"https://api.github.com/users/dmaicher/gists{/gist_id}","starred_url":"https://api.github.com/users/dmaicher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmaicher/subscriptions","organizations_url":"https://api.github.com/users/dmaicher/orgs","repos_url":"https://api.github.com/users/dmaicher/repos","events_url":"https://api.github.com/users/dmaicher/events{/privacy}","received_events_url":"https://api.github.com/users/dmaicher/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T20:06:51Z","updated_at":"2016-08-08T20:06:51Z","body":"Ok I found the issue :wink: I will try to put together a PR tomorrow and keep you updated. Too tired today :stuck_out_tongue_winking_eye: "}}
{"actor":{"display_login":"dmaicher"}}