From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sun, 19 May 2024 10:53:16 +0200
Subject: Make provider functions static (PHPUnit 11 Fix)

Bug-Debian: https://bugs.debian.org/1070551
---
 tests/CoroutineTest.php | 2 +-
 tests/UtilsTest.php     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/CoroutineTest.php b/tests/CoroutineTest.php
index af60639..54f47d8 100644
--- a/tests/CoroutineTest.php
+++ b/tests/CoroutineTest.php
@@ -37,7 +37,7 @@ class CoroutineTest extends TestCase
         $coroutine->{$method}(...$args);
     }
 
-    public function promiseInterfaceMethodProvider()
+    public static function promiseInterfaceMethodProvider()
     {
         return [
             ['then', [null, null]],
diff --git a/tests/UtilsTest.php b/tests/UtilsTest.php
index 526a3e7..00c6f3c 100644
--- a/tests/UtilsTest.php
+++ b/tests/UtilsTest.php
@@ -318,7 +318,7 @@ class UtilsTest extends TestCase
         $this->assertSame('a', $result->getMessage());
     }
 
-    public function rejectsParentExceptionProvider()
+    public static function rejectsParentExceptionProvider()
     {
         return [
             [P\Coroutine::of(function () {
