Run Rector on your code to see what it can do for you:
{ public function testSomething() { - self::assertJsonResponse(contentType: 'text/html'); + self::assertJsonResponse(contentType: 0); } protected static function assertJsonResponse(int $statusCode = 200, string $contentType = 'application/json'): void
Applied Rules:
Not a change you expect?
rector.php