Skip to content

Commit dfbddc4

Browse files
committed
minor #12715 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface (aferrandini)
This PR was merged into the 2.7 branch. Discussion ---------- Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #12678 | License | MIT Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface Commits ------- 4b3f135 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface
2 parents d0c1e41 + e275aca commit dfbddc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PropertyMetadataInterface.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('Symfony\Component\Validator\PropertyMetadataInterface was deprecated in version 2.5 and will be removed in version 3.0. Please use Symfony\Component\Validator\Mapping\PropertyMetadataInterface instead', E_USER_DEPRECATED);
15+
1416
/**
1517
* A container for validation metadata of a property.
1618
*

0 commit comments

Comments
 (0)