Skip to content

Commit

Permalink
[Validator] Add deprecation message about Symfony\Component\Validator…
Browse files Browse the repository at this point in the history
…\MetadataInterface.
  • Loading branch information
xelaris committed Nov 29, 2014
1 parent e8d9857 commit a00c954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/Validator/MetadataInterface.php
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\Validator;

trigger_error('Symfony\Component\Validator\MetadataInterface was deprecated in version 2.5 and will be removed in 3.0. Use Symfony\Component\Validator\Mapping\MetadataInterface instead.', E_USER_DEPRECATED);

/**
* A container for validation metadata.
*
Expand Down

0 comments on commit a00c954

Please sign in to comment.