Run Rector on your code to see what it can do for you:
<?php use PHPUnit\Framework\Attributes\Test;
case 1: self::assertSame(range(1, 250), $parameters); - return [233, [], [],]; + return [ + 233, + [], + [], + ]; case 2: self::assertSame(range(251, 500), $parameters); - return [15, [], [],]; + return [ + 15, + [], + [], + ]; default: throw new \OutOfBoundsException('Did not expect this to run thrice.');
Applied Rules:
Not a change you expect?
rector.php