@@ -25,50 +25,62 @@ class Url extends Constraint
25
25
* @deprecated since Symfony 4.1, to be removed in 5.0
26
26
*/
27
27
const CHECK_DNS_TYPE_ANY = 'ANY ' ;
28
+
28
29
/**
29
30
* @deprecated since Symfony 4.1, to be removed in 5.0
30
31
*/
31
32
const CHECK_DNS_TYPE_NONE = false ;
33
+
32
34
/**
33
35
* @deprecated since Symfony 4.1, to be removed in 5.0
34
36
*/
35
37
const CHECK_DNS_TYPE_A = 'A ' ;
38
+
36
39
/**
37
40
* @deprecated since Symfony 4.1, to be removed in 5.0
38
41
*/
39
42
const CHECK_DNS_TYPE_A6 = 'A6 ' ;
43
+
40
44
/**
41
45
* @deprecated since Symfony 4.1, to be removed in 5.0
42
46
*/
43
47
const CHECK_DNS_TYPE_AAAA = 'AAAA ' ;
48
+
44
49
/**
45
50
* @deprecated since Symfony 4.1, to be removed in 5.0
46
51
*/
47
52
const CHECK_DNS_TYPE_CNAME = 'CNAME ' ;
53
+
48
54
/**
49
55
* @deprecated since Symfony 4.1, to be removed in 5.0
50
56
*/
51
57
const CHECK_DNS_TYPE_MX = 'MX ' ;
58
+
52
59
/**
53
60
* @deprecated since Symfony 4.1, to be removed in 5.0
54
61
*/
55
62
const CHECK_DNS_TYPE_NAPTR = 'NAPTR ' ;
63
+
56
64
/**
57
65
* @deprecated since Symfony 4.1, to be removed in 5.0
58
66
*/
59
67
const CHECK_DNS_TYPE_NS = 'NS ' ;
68
+
60
69
/**
61
70
* @deprecated since Symfony 4.1, to be removed in 5.0
62
71
*/
63
72
const CHECK_DNS_TYPE_PTR = 'PTR ' ;
73
+
64
74
/**
65
75
* @deprecated since Symfony 4.1, to be removed in 5.0
66
76
*/
67
77
const CHECK_DNS_TYPE_SOA = 'SOA ' ;
78
+
68
79
/**
69
80
* @deprecated since Symfony 4.1, to be removed in 5.0
70
81
*/
71
82
const CHECK_DNS_TYPE_SRV = 'SRV ' ;
83
+
72
84
/**
73
85
* @deprecated since Symfony 4.1, to be removed in 5.0
74
86
*/
@@ -81,11 +93,13 @@ class Url extends Constraint
81
93
);
82
94
83
95
public $ message = 'This value is not a valid URL. ' ;
96
+
84
97
/**
85
98
* @deprecated since Symfony 4.1, to be removed in 5.0
86
99
*/
87
100
public $ dnsMessage = 'The host could not be resolved. ' ;
88
101
public $ protocols = array ('http ' , 'https ' );
102
+
89
103
/**
90
104
* @deprecated since Symfony 4.1, to be removed in 5.0
91
105
*/
0 commit comments