File: 0001-Compatibility-with-recent-PHPUnit-12.patch

package info (click to toggle)
php-brick-math 0.12.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: php: 8,290; xml: 108; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 888 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
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 20 Aug 2025 08:41:55 +0200
Subject: Compatibility with recent PHPUnit (12)

---
 tests/BigIntegerTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/BigIntegerTest.php b/tests/BigIntegerTest.php
index 5457ea8..fd0417e 100644
--- a/tests/BigIntegerTest.php
+++ b/tests/BigIntegerTest.php
@@ -1150,7 +1150,7 @@ class BigIntegerTest extends AbstractTestCase
      * @param string $quotient The expected quotient.
      */
     #[DataProvider('providerQuotientAndRemainder')]
-    public function testQuotient(string $dividend, string $divisor, string $quotient) : void
+    public function testQuotient(string $dividend, string $divisor, string $quotient, string $remainder) : void
     {
         self::assertBigIntegerEquals($quotient, BigInteger::of($dividend)->quotient($divisor));
     }