Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 721d370

Browse files
committed
minor #25451 [Validator] fix test after merge (Simperfit)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Validator] fix test after merge | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | I think something has been forgotten when this has be done. Commits ------- 7a64630 [Validator] fix test of email deprecation
2 parents 20cdeef + 7a64630 commit 721d370

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Validator/Tests/Constraints/EmailTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class EmailTest extends TestCase
1818
{
1919
/**
20-
* @expectedDeprecation The 'strict' property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
20+
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
2121
* @group legacy
2222
*/
2323
public function testLegacyConstructorStrict()

src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function testUnknownModesOnValidateTriggerException()
226226
}
227227

228228
/**
229-
* @expectedDeprecation The 'strict' property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
229+
* @expectedDeprecation The "strict" property is deprecated since version 4.1 and will be removed in 5.0. Use 'mode'=>"strict" instead.
230230
* @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.
231231
* @group legacy
232232
*/

0 commit comments

Comments
 (0)