Skip to content

Commit 5174426

Browse files
committed
add trigger message
1 parent e937b35 commit 5174426

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Mapping/ElementMetadata.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\Mapping;
1313

14+
trigger_error('The "Symfony\Component\Validator\Mapping\ElementMetadata" class was deprecated in version 2.5 and will be removed in 3.0. Use "Symfony\Component\Validator\Mapping\GenericMetadata" instead.', E_USER_DEPRECATED);
15+
1416
/**
1517
* Contains the metadata of a structural element.
1618
*

0 commit comments

Comments
 (0)