Skip to content

Commit ad11843

Browse files
committed
[CodeQuality] Skip first class callable on DecorateWillReturnMapWithExpectsMockRector
1 parent a2e10b5 commit ad11843

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Rector\PHPUnit\Tests\CodeQuality\Rector\Expression\DecorateWillReturnMapWithExpectsMockRector\Fixture;
6+
7+
final class SkipFirstClassCallable extends \PHPUnit\Framework\TestCase
8+
{
9+
public function test()
10+
{
11+
$someMock = $this->createMock(\stdClass::class);
12+
$someMock->method('some')->willReturnMap(...);
13+
}
14+
}
15+
16+
?>

0 commit comments

Comments
 (0)