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

package info (click to toggle)
php-composer-class-map-generator 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,672 kB
  • sloc: php: 4,271; makefile: 20
file content (21 lines) | stat: -rw-r--r-- 796 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?= <david@tilapin.org>
Date: Sun, 11 Feb 2024 13:01:03 +0100
Subject: Compatibility with recent PHPUnit (10)

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

diff --git a/tests/ClassMapGeneratorTest.php b/tests/ClassMapGeneratorTest.php
index 51506d7..4d75d4b 100644
--- a/tests/ClassMapGeneratorTest.php
+++ b/tests/ClassMapGeneratorTest.php
@@ -56,7 +56,7 @@ class ClassMapGeneratorTest extends TestCase
     /**
      * @return array<array<string|array<string>>>
      */
-    public function getTestCreateMapTests(): array
+    public static function getTestCreateMapTests(): array
     {
         $classmap = array(
             'Foo\\Bar\\A' => realpath(__DIR__) . '/Fixtures/classmap/sameNsMultipleClasses.php',