@@ -67,11 +67,11 @@ public function getValidUrls()
67
67
{
68
68
return [
69
69
['http://a.pl ' ],
70
- ['http://www.google .com ' ],
71
- ['http://www.google .com. ' ],
72
- ['http://www.google .museum ' ],
73
- ['https://google .com/ ' ],
74
- ['https://google .com:80/ ' ],
70
+ ['http://www.example .com ' ],
71
+ ['http://www.example .com. ' ],
72
+ ['http://www.example .museum ' ],
73
+ ['https://example .com/ ' ],
74
+ ['https://example .com:80/ ' ],
75
75
['http://www.example.coop/ ' ],
76
76
['http://www.test-example.com/ ' ],
77
77
['http://www.symfony.com/ ' ],
@@ -148,15 +148,15 @@ public function testInvalidUrls($url)
148
148
public function getInvalidUrls ()
149
149
{
150
150
return [
151
- ['google .com ' ],
152
- ['://google .com ' ],
153
- ['http ://google .com ' ],
154
- ['http:/google .com ' ],
155
- ['http://goog_le .com ' ],
156
- ['http://google .com::aa ' ],
157
- ['http://google .com:aa ' ],
158
- ['ftp://google .fr ' ],
159
- ['faked://google .fr ' ],
151
+ ['example .com ' ],
152
+ ['://example .com ' ],
153
+ ['http ://example .com ' ],
154
+ ['http:/example .com ' ],
155
+ ['http://examp_le .com ' ],
156
+ ['http://example .com::aa ' ],
157
+ ['http://example .com:aa ' ],
158
+ ['ftp://example .fr ' ],
159
+ ['faked://example .fr ' ],
160
160
['http://127.0.0.1:aa/ ' ],
161
161
['ftp://[::1]/ ' ],
162
162
['http://[::1 ' ],
@@ -189,7 +189,7 @@ public function testCustomProtocolIsValid($url)
189
189
public function getValidCustomUrls ()
190
190
{
191
191
return [
192
- ['ftp://google .com ' ],
192
+ ['ftp://example .com ' ],
193
193
['file://127.0.0.1 ' ],
194
194
['git://[::1]/ ' ],
195
195
];
0 commit comments