Skip to content

Commit

Permalink
[Hackday][2.7] Resolves #12681. Added deprecation trigger for ClassBa…
Browse files Browse the repository at this point in the history
…sedInterface.
  • Loading branch information
Antonio Mansilla committed Nov 29, 2014
1 parent 0c7df58 commit 8bbbefe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/Validator/ClassBasedInterface.php
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\Validator;

trigger_error('The Symfony\Component\Validator\ClassBasedInterface interface was deprecated in version 2.7 and will be removed in 3.0. Use Symfony\Component\Validator\Mapping\ClassMetadataInterface instead', E_USER_DEPRECATED);

/**
* An object backed by a PHP class.
*
Expand Down

0 comments on commit 8bbbefe

Please sign in to comment.