From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sun, 19 May 2024 19:48:00 +0200
Subject: Make provider functions static (PHPUnit 11 Fix)

Bug-Debian: https://bugs.debian.org/1070516
---
 tests/integration/ToIdnTest.php     | 8 ++++----
 tests/integration/ToUnicodeTest.php | 8 ++++----
 tests/unit/namePrepTest.php         | 4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/integration/ToIdnTest.php b/tests/integration/ToIdnTest.php
index 31d909b..7ee5392 100644
--- a/tests/integration/ToIdnTest.php
+++ b/tests/integration/ToIdnTest.php
@@ -100,7 +100,7 @@ class ToIdnTest extends TestCase
         );
     }
 
-    public function providerUtf8()
+    public static function providerUtf8()
     {
         return [
             ['', ''],
@@ -162,7 +162,7 @@ class ToIdnTest extends TestCase
         ];
     }
 
-    public function providerUtf8Idna2003()
+    public static function providerUtf8Idna2003()
     {
         return [
             ['daß.example', 'dass.example'],
@@ -176,7 +176,7 @@ class ToIdnTest extends TestCase
         ];
     }
 
-    public function providerEmailAddress()
+    public static function providerEmailAddress()
     {
         return [
             ['some.user@мениджмънт.example', 'some.user@xn--d1abegsede9b0e.example'],
@@ -186,7 +186,7 @@ class ToIdnTest extends TestCase
         ];
     }
 
-    public function providerUrl()
+    public static function providerUrl()
     {
         return [
             [
diff --git a/tests/integration/ToUnicodeTest.php b/tests/integration/ToUnicodeTest.php
index 43d3aa6..c11e828 100644
--- a/tests/integration/ToUnicodeTest.php
+++ b/tests/integration/ToUnicodeTest.php
@@ -87,7 +87,7 @@ class ToUnicodeTest extends TestCase
     /**
      * @return array
      */
-    public function providerUtf8()
+    public static function providerUtf8()
     {
         return [
             ['xn--mller-kva', 'müller'],
@@ -141,7 +141,7 @@ class ToUnicodeTest extends TestCase
         ];
     }
 
-    public function providerException(): array
+    public static function providerException(): array
     {
         return [
             ['xn--style-321'],
@@ -157,7 +157,7 @@ class ToUnicodeTest extends TestCase
         ];
     }
 
-    public function providerEmailAddress()
+    public static function providerEmailAddress()
     {
         return [
             ['some.user@xn--d1abegsede9b0e.example', 'some.user@мениджмънт.example'],
@@ -167,7 +167,7 @@ class ToUnicodeTest extends TestCase
         ];
     }
 
-    public function providerUrl()
+    public static function providerUrl()
     {
         return [
             [
diff --git a/tests/unit/namePrepTest.php b/tests/unit/namePrepTest.php
index 1725b4d..700a7b6 100644
--- a/tests/unit/namePrepTest.php
+++ b/tests/unit/namePrepTest.php
@@ -74,7 +74,7 @@ class namePrepTest extends TestCase
         $this->namePrep2003->do($sequence);
     }
 
-    public function providerMapping2003()
+    public static function providerMapping2003()
     {
         return [
             [
@@ -129,7 +129,7 @@ class namePrepTest extends TestCase
         ];
     }
 
-    public function providerProhibited()
+    public static function providerProhibited()
     {
         return [
             [
