Run Rector on your code to see what it can do for you:
{ public function testSuccess(): void { - $mock = $this->createMock(\stdClass::class); + $mock = self::createMock(\stdClass::class); - $this->assertTrue(true); + self::assertTrue(true); } }
Applied Rules:
Not a change you expect?
rector.php