1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 12 Jul 2025 18:01:27 +0200
Subject: Update DataProvider expected arguments list
PHPUnit 12 warns that the number of arguments provided should match the
number of arguments expected by the test method.
---
tests/Platforms/PostgreSQLPlatformTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Platforms/PostgreSQLPlatformTest.php b/tests/Platforms/PostgreSQLPlatformTest.php
index 47a1abb..f9b1fb4 100644
--- a/tests/Platforms/PostgreSQLPlatformTest.php
+++ b/tests/Platforms/PostgreSQLPlatformTest.php
@@ -272,7 +272,7 @@ class PostgreSQLPlatformTest extends AbstractPlatformTestCase
}
#[DataProvider('serialTypes')]
- public function testGetDefaultValueDeclarationSQLIgnoresTheDefaultKeyWhenTheFieldIsSerial(string $type): void
+ public function testGetDefaultValueDeclarationSQLIgnoresTheDefaultKeyWhenTheFieldIsSerial(string $type, string $definition): void
{
$sql = $this->platform->getDefaultValueDeclarationSQL(
[
|