File: 0002-Update-DataProvider-expected-arguments-list.patch

package info (click to toggle)
php-doctrine-dbal 4.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,088 kB
  • sloc: php: 60,318; xml: 618; makefile: 23
file content (23 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download
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(
             [