Skip to content

Commit dc967ef

Browse files
committed
[PHPUnit12] Add fixture reproducing AllowMockObjects false positive on ConstraintValidatorTestCase
Refs rectorphp/rector#9650
1 parent d4fd79d commit dc967ef

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Rector\PHPUnit\Tests\PHPUnit120\Rector\Class_\AllowMockObjectsWhereParentClassRector\Fixture;
4+
5+
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
6+
7+
final class SkipConstraintValidatorTestCase extends ConstraintValidatorTestCase
8+
{
9+
private \PHPUnit\Framework\MockObject\MockObject $someMock;
10+
}

0 commit comments

Comments
 (0)