@@ -109,9 +109,6 @@ public function testValidRelativeUrlWithNewLine(string $url)
109109 ->assertRaised ();
110110 }
111111
112- /**
113- * Test that protocols: ['*'] allows any protocol
114- */
115112 public function testProtocolsWildcardAllowsAnyProtocol ()
116113 {
117114 $ constraint = new Url (protocols: ['* ' ], requireTld: false );
@@ -134,9 +131,6 @@ public function testProtocolsWildcardAllowsAnyProtocol()
134131 }
135132 }
136133
137- /**
138- * Test that protocols: ['*'] still validates scheme format according to RFC 3986
139- */
140134 public function testProtocolsWildcardRejectsInvalidSchemes ()
141135 {
142136 $ constraint = new Url (protocols: ['* ' ], requireTld: true );
@@ -161,9 +155,6 @@ public function testProtocolsWildcardRejectsInvalidSchemes()
161155 }
162156 }
163157
164- /**
165- * Test that protocols: ['*'] works with relativeProtocol
166- */
167158 public function testProtocolsWildcardWithRelativeProtocol ()
168159 {
169160 $ constraint = new Url (protocols: ['* ' ], relativeProtocol: true , requireTld: true );
@@ -175,9 +166,6 @@ public function testProtocolsWildcardWithRelativeProtocol()
175166 $ this ->assertNoViolation ();
176167 }
177168
178- /**
179- * Test that protocols: ['*'] works with requireTld
180- */
181169 public function testProtocolsWildcardWithRequireTld ()
182170 {
183171 $ constraint = new Url (protocols: ['* ' ], requireTld: true );
@@ -192,9 +180,6 @@ public function testProtocolsWildcardWithRequireTld()
192180 ->assertRaised ();
193181 }
194182
195- /**
196- * Test that protocols accepts regex patterns
197- */
198183 public function testProtocolsSupportsRegexPatterns ()
199184 {
200185 $ constraint = new Url (protocols: ['https? ' , 'custom.* ' ], requireTld: true );
0 commit comments