Skip to content

Commit c8cf193

Browse files
committed
Merge branch '4.1'
* 4.1: Supress deprecation notices thrown when getting private servies from container in tests Uses `protected` for test functions [Messenger] Allow to scope handlers per bus do not mock the session in token storage tests [DependencyInjection] resolve array env vars Add Occitan plural rule Fix security/* cross-dependencies [Messenger] implement several senders using a ChainSender [Lock] Skip test if posix extension is not installed fix bug when imported routes are prefixed [DI] Allow defining bindings on ChildDefinition use strict compare in url validator Disallow illegal characters like "." in session.name [HttpKernel] do file_exists() check instead of silent notice Select alternatives on missing receiver arg or typo fix rounding from string
2 parents 78e0aec + a73b1cb commit c8cf193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/UrlValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function validate($value, Constraint $constraint)
8787
Url::CHECK_DNS_TYPE_SOA,
8888
Url::CHECK_DNS_TYPE_SRV,
8989
Url::CHECK_DNS_TYPE_TXT,
90-
))) {
90+
), true)) {
9191
throw new InvalidOptionsException(sprintf('Invalid value for option "checkDNS" in constraint %s', get_class($constraint)), array('checkDNS'));
9292
}
9393

0 commit comments

Comments
 (0)