Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/NotIdenticalTo.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
20 */ | 20 */ |
21 class NotIdenticalTo extends AbstractComparison | 21 class NotIdenticalTo extends AbstractComparison |
22 { | 22 { |
23 const IS_IDENTICAL_ERROR = '4aaac518-0dda-4129-a6d9-e216b9b454a0'; | 23 const IS_IDENTICAL_ERROR = '4aaac518-0dda-4129-a6d9-e216b9b454a0'; |
24 | 24 |
25 protected static $errorNames = array( | 25 protected static $errorNames = [ |
26 self::IS_IDENTICAL_ERROR => 'IS_IDENTICAL_ERROR', | 26 self::IS_IDENTICAL_ERROR => 'IS_IDENTICAL_ERROR', |
27 ); | 27 ]; |
28 | 28 |
29 public $message = 'This value should not be identical to {{ compared_value_type }} {{ compared_value }}.'; | 29 public $message = 'This value should not be identical to {{ compared_value_type }} {{ compared_value }}.'; |
30 } | 30 } |