Skip to content

Commit 12fad51

Browse files
author
Ismail Faizi
committed
[Validator] added a deprecation note about MetadataFactoryInterface addressing #12690
1 parent 5a58305 commit 12fad51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MetadataFactoryInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14+
trigger_error('The "Symfony\Component\Validator\MetadataFactoryInterface" interface is deprecated since version 2.5 and will be removed in Symfony 3.0. You should use the "Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface" interface instead.', E_USER_DEPRECATED);
15+
1416
/**
1517
* Returns {@link MetadataInterface} instances for values.
1618
*

0 commit comments

Comments
 (0)