Skip to content

Commit c0eaa38

Browse files
authored
Added testcase to demonstrate rector#8977 (#440)
Where an inline docblock is used in another tag, all subsequent tags are removed. rectorphp/rector#8977
1 parent 6b0e4f0 commit c0eaa38

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
use PHPUnit\Framework\TestCase;
4+
5+
/**
6+
* @copyright Example {@link https://example.com}
7+
* @covers \Tests\BarController
8+
*/
9+
class BarController extends TestCase
10+
{
11+
}
12+
13+
?>
14+
-----
15+
<?php
16+
17+
use PHPUnit\Framework\TestCase;
18+
19+
/**
20+
* @copyright Example {@link https://example.com}
21+
*/
22+
#[\PHPUnit\Framework\Attributes\CoversClass(\Tests\BarController::class)]
23+
class BarController extends TestCase
24+
{
25+
}
26+
27+
?>

0 commit comments

Comments
 (0)