Skip to content

Commit cc77a37

Browse files
committed
skip in anonymous fixture
1 parent fa33c0c commit cc77a37

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Rector\PHPUnit\Tests\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector\Fixture;
4+
5+
use PHPUnit\Framework\TestCase;
6+
7+
final class SkipUsedInAnonymousClassTest extends TestCase
8+
{
9+
public function someTest()
10+
{
11+
new class {
12+
/**
13+
* @uses Foo::Bar
14+
*/
15+
public function run()
16+
{
17+
}
18+
};
19+
}
20+
}

0 commit comments

Comments
 (0)