chore(deps-dev): upgrade PHPUnit to v11.5

This commit is contained in:
Ben Ramsey
2025-05-26 01:54:17 -05:00
parent af695142ab
commit bbd78052d7
46 changed files with 740 additions and 924 deletions
+3 -3
View File
@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Ramsey\Uuid\Test\Generator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\MockObject\MockObject;
use Ramsey\Uuid\Converter\NumberConverterInterface;
use Ramsey\Uuid\Exception\InvalidArgumentException;
@@ -85,16 +86,15 @@ class CombGeneratorTest extends TestCase
/**
* @return array<array<positive-int>>
*/
public function lengthLessThanSix(): array
public static function lengthLessThanSix(): array
{
return [[1], [2], [3], [4], [5]];
}
/**
* @param positive-int $length
*
* @dataProvider lengthLessThanSix
*/
#[DataProvider('lengthLessThanSix')]
public function testGenerateWithLessThanTimestampBytesThrowsException(int $length): void
{
/** @var MockObject & RandomGeneratorInterface $randomGenerator */