You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// BC layer, should throw a ConstraintDefinitionException in 6.0
79
79
if ($this->deprecatedMinMessageSet || $this->deprecatedMaxMessageSet) {
80
-
@trigger_error('Since symfony/validator4.4: "minMessage" and "maxMessage" are deprecated when the "min" and "max" options are both set. Use "notInRangeMessage" instead.', E_USER_DEPRECATED);
80
+
trigger_deprecation('symfony/validator', '4.4', '"minMessage" and "maxMessage" are deprecated when the "min" and "max" options are both set. Use "notInRangeMessage" instead.');
@@ -52,11 +55,12 @@ public function provideDeprecationTriggeredIfMinMaxAndMinMessageOrMaxMessageSet(
52
55
53
56
/**
54
57
* @group legacy
55
-
* @expectedDeprecation Since symfony/validator 4.4: "minMessage" and "maxMessage" are deprecated when the "min" and "max" options are both set. Use "notInRangeMessage" instead.
$this->expectDeprecation('Since symfony/validator 4.4: "minMessage" and "maxMessage" are deprecated when the "min" and "max" options are both set. Use "notInRangeMessage" instead.');
0 commit comments