{"action":"created","issue":{"url":"https://api.github.com/repos/silexphp/Silex/issues/1170","labels_url":"https://api.github.com/repos/silexphp/Silex/issues/1170/labels{/name}","comments_url":"https://api.github.com/repos/silexphp/Silex/issues/1170/comments","events_url":"https://api.github.com/repos/silexphp/Silex/issues/1170/events","html_url":"https://github.com/silexphp/Silex/issues/1170","id":84690837,"number":1170,"title":"Updating symfony validation to 2.7.0 brings deprecated warnings","user":{"login":"Ronnie-J","id":7793111,"avatar_url":"https://avatars.githubusercontent.com/u/7793111?v=3","gravatar_id":"","url":"https://api.github.com/users/Ronnie-J","html_url":"https://github.com/Ronnie-J","followers_url":"https://api.github.com/users/Ronnie-J/followers","following_url":"https://api.github.com/users/Ronnie-J/following{/other_user}","gists_url":"https://api.github.com/users/Ronnie-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronnie-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronnie-J/subscriptions","organizations_url":"https://api.github.com/users/Ronnie-J/orgs","repos_url":"https://api.github.com/users/Ronnie-J/repos","events_url":"https://api.github.com/users/Ronnie-J/events{/privacy}","received_events_url":"https://api.github.com/users/Ronnie-J/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-03T17:56:22Z","updated_at":"2015-06-03T18:26:07Z","closed_at":null,"body":"Hi guys.\r\n\r\nIve just updated my composer dependencies and symfony/validation went from;\r\n```\r\n  - Removing symfony/validator (v2.6.7)\r\n  - Installing symfony/validator (v2.7.0)\r\n ```\r\nAfter that I started getting deprecated warnings:\r\n\r\n```\r\nPHP Deprecated:  The Symfony\\Component\\Validator\\Validator class is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\\Component\\Validator\\Validator\\RecursiveValidator class instead. in /vagrantenvironments/phpcsa/application/vendor/symfony/validator/Validator.php on line 14\r\n\r\nPHP Deprecated: The Symfony\\Component\\Validator\\ConstraintValidator::buildViolation is deprecated since version 2.5 and will be removed in 3.0. in /vagrantenvironments/phpcsa/application/vendor/symfony/validator/ConstraintValidator.php on line 68\r\n```\r\n\r\nI suppose the ValidationServiceProvider needs some updating? "},"comment":{"url":"https://api.github.com/repos/silexphp/Silex/issues/comments/108561078","html_url":"https://github.com/silexphp/Silex/issues/1170#issuecomment-108561078","issue_url":"https://api.github.com/repos/silexphp/Silex/issues/1170","id":108561078,"user":{"login":"Ronnie-J","id":7793111,"avatar_url":"https://avatars.githubusercontent.com/u/7793111?v=3","gravatar_id":"","url":"https://api.github.com/users/Ronnie-J","html_url":"https://github.com/Ronnie-J","followers_url":"https://api.github.com/users/Ronnie-J/followers","following_url":"https://api.github.com/users/Ronnie-J/following{/other_user}","gists_url":"https://api.github.com/users/Ronnie-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronnie-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronnie-J/subscriptions","organizations_url":"https://api.github.com/users/Ronnie-J/orgs","repos_url":"https://api.github.com/users/Ronnie-J/repos","events_url":"https://api.github.com/users/Ronnie-J/events{/privacy}","received_events_url":"https://api.github.com/users/Ronnie-J/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T18:26:07Z","updated_at":"2015-06-03T18:26:07Z","body":"I dont see any code that by my self should trigger this dependency warning. Im pretty sure its the ValidationProvider that needs updating after changes made to symfony/validation (2.7).\r\n\r\nIm expecting that would be fixed in 1.3 when released :) :+1: "}}