Skip to content

[Validator][HttpFoundation] fix the message test #25452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function testGetSize()

/**
* @group legacy
* @expectedDeprecation Passing a size in the constructor is deprecated since 4.1 and will be removed in 5.0. Use getSize instead.
* @expectedDeprecation Passing a size in the constructor is deprecated since 4.1 and will be removed in 5.0. Use getSize() instead.
*/
public function testConstructDeprecatedSize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class EmailTest extends TestCase
{
/**
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use "mode"=>"strict" instead.
* @group legacy
*/
public function testLegacyConstructorStrict()
Expand All @@ -36,7 +36,7 @@ public function testConstructorStrict()

/**
* @expectedException \InvalidArgumentException
* @expectedExceptionMessage The 'mode' parameter value is not valid.
* @expectedExceptionMessage The "mode" parameter value is not valid.
*/
public function testUnknownModesTriggerException()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function testUnknownModesOnValidateTriggerException()
}

/**
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use "mode"=>"strict" instead.
* @expectedDeprecation The Symfony\Component\Validator\Constraints\Email::$strict property is deprecated since version 4.1 and will be removed in 5.0. Use Symfony\Component\Validator\Constraints\Email::mode="strict" instead.
* @group legacy
*/
Expand Down