Skip to content

Commit 177d560

Browse files
committed
minor #12753 [Validator] added a deprecation note about MetadataFactoryInterface (Ismail Faizi)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] added a deprecation note about MetadataFactoryInterface | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #12690 | License | MIT | Doc PR | Commits ------- 33fa8ff [Validator] added a deprecation note about MetadataFactoryInterface addressing #12690
2 parents 086c3f2 + 12fad51 commit 177d560

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)