2727use PHPUnit \Framework \TestCase ;
2828use RuntimeException ;
2929
30- /**
31- * @coversDefaultClass \phpDocumentor\Reflection\TypeResolver
32- */
3330class CollectionResolverTest extends TestCase
3431{
3532 /**
@@ -38,9 +35,6 @@ class CollectionResolverTest extends TestCase
3835 * @uses \phpDocumentor\Reflection\PseudoTypes\Generic
3936 * @uses \phpDocumentor\Reflection\Types\String_
4037 *
41- * @covers ::resolve
42- * @covers ::createType
43- * @covers ::__construct
4438 */
4539 public function testResolvingCollection (): void
4640 {
@@ -60,9 +54,6 @@ public function testResolvingCollection(): void
6054 * @uses \phpDocumentor\Reflection\PseudoTypes\Generic
6155 * @uses \phpDocumentor\Reflection\Types\String_
6256 *
63- * @covers ::__construct
64- * @covers ::resolve
65- * @covers ::createType
6657 */
6758 public function testResolvingCollectionWithKeyType (): void
6859 {
@@ -87,9 +78,6 @@ public function testResolvingCollectionWithKeyType(): void
8778 * @uses \phpDocumentor\Reflection\Types\Compound
8879 * @uses \phpDocumentor\Reflection\Types\String_
8980 *
90- * @covers ::__construct
91- * @covers ::resolve
92- * @covers ::createType
9381 */
9482 public function testResolvingArrayCollection (): void
9583 {
@@ -113,9 +101,6 @@ public function testResolvingArrayCollection(): void
113101 * @uses \phpDocumentor\Reflection\Types\Compound
114102 * @uses \phpDocumentor\Reflection\Types\String_
115103 *
116- * @covers ::__construct
117- * @covers ::resolve
118- * @covers ::createType
119104 */
120105 public function testResolvingArrayCollectionWithKey (): void
121106 {
@@ -139,9 +124,6 @@ public function testResolvingArrayCollectionWithKey(): void
139124 * @uses \phpDocumentor\Reflection\Types\Compound
140125 * @uses \phpDocumentor\Reflection\Types\String_
141126
142- * @covers ::__construct
143- * @covers ::resolve
144- * @covers ::createType
145127 */
146128 public function testResolvingArrayCollectionWithKeyAndWhitespace (): void
147129 {
@@ -166,9 +148,6 @@ public function testResolvingArrayCollectionWithKeyAndWhitespace(): void
166148 * @uses \phpDocumentor\Reflection\PseudoTypes\Generic
167149 * @uses \phpDocumentor\Reflection\Types\String_
168150 *
169- * @covers ::__construct
170- * @covers ::resolve
171- * @covers ::createType
172151 */
173152 public function testResolvingCollectionOfCollection (): void
174153 {
@@ -194,11 +173,6 @@ public function testResolvingCollectionOfCollection(): void
194173 $ this ->assertEquals (new Object_ (new Fqsen ('\\DateTime ' )), $ nestedGenericTypes [0 ]);
195174 }
196175
197- /**
198- * @covers ::__construct
199- * @covers ::resolve
200- * @covers ::createType
201- */
202176 public function testGoodArrayCollectionKey (): void
203177 {
204178 $ fixture = new TypeResolver ();
@@ -214,11 +188,6 @@ public function testGoodArrayCollectionKey(): void
214188 $ this ->assertSame ('array<class-string,string> ' , (string ) $ resolvedType );
215189 }
216190
217- /**
218- * @covers ::__construct
219- * @covers ::resolve
220- * @covers ::createType
221- */
222191 public function testMissingStartCollection (): void
223192 {
224193 $ this ->expectException (RuntimeException::class);
@@ -227,11 +196,6 @@ public function testMissingStartCollection(): void
227196 $ fixture ->resolve ('<string> ' , new Context ('' ));
228197 }
229198
230- /**
231- * @covers ::__construct
232- * @covers ::resolve
233- * @covers ::createType
234- */
235199 public function testMissingEndCollection (): void
236200 {
237201 $ this ->expectException (RuntimeException::class);
@@ -240,11 +204,6 @@ public function testMissingEndCollection(): void
240204 $ fixture ->resolve ('ArrayObject<object|string ' , new Context ('' ));
241205 }
242206
243- /**
244- * @covers ::__construct
245- * @covers ::resolve
246- * @covers ::createType
247- */
248207 public function testBadCollectionClass (): void
249208 {
250209 $ this ->expectException (RuntimeException::class);
@@ -258,9 +217,6 @@ public function testBadCollectionClass(): void
258217 * @uses \phpDocumentor\Reflection\Types\Compound
259218 * @uses \phpDocumentor\Reflection\Types\String_
260219 *
261- * @covers ::__construct
262- * @covers ::resolve
263- * @covers ::createType
264220 */
265221 public function testResolvingCollectionAsArray (): void
266222 {
@@ -283,9 +239,6 @@ public function testResolvingCollectionAsArray(): void
283239 * @uses \phpDocumentor\Reflection\Types\Context
284240 * @uses \phpDocumentor\Reflection\Types\String_
285241 *
286- * @covers ::__construct
287- * @covers ::resolve
288- * @covers ::createType
289242 */
290243 public function testResolvingList (): void
291244 {
@@ -308,9 +261,6 @@ public function testResolvingList(): void
308261 * @uses \phpDocumentor\Reflection\Types\Context
309262 * @uses \phpDocumentor\Reflection\Types\String_
310263 *
311- * @covers ::__construct
312- * @covers ::resolve
313- * @covers ::createType
314264 */
315265 public function testResolvingNonEmptyList (): void
316266 {
@@ -333,9 +283,6 @@ public function testResolvingNonEmptyList(): void
333283 * @uses \phpDocumentor\Reflection\Types\Context
334284 * @uses \phpDocumentor\Reflection\Types\Nullable
335285 *
336- * @covers ::__construct
337- * @covers ::resolve
338- * @covers ::createType
339286 */
340287 public function testResolvingNullableArray (): void
341288 {
0 commit comments