File: 0002-PHPUnit-11-dropped-withConsecutive.patch

package info (click to toggle)
php-symfony-webpack-encore-bundle 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 404 kB
  • sloc: php: 1,697; xml: 92; makefile: 22
file content (52 lines) | stat: -rw-r--r-- 1,809 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sat, 3 May 2025 11:07:03 +0200
Subject: PHPUnit 11 dropped withConsecutive

---
 tests/Asset/TagRendererTest.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/Asset/TagRendererTest.php b/tests/Asset/TagRendererTest.php
index 9d18a6c..0b090c4 100644
--- a/tests/Asset/TagRendererTest.php
+++ b/tests/Asset/TagRendererTest.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\WebpackEncoreBundle\Tests\Asset;
 
+use PHPUnit\Framework\Attributes\RequiresPhpunit;
 use PHPUnit\Framework\TestCase;
 use Symfony\Component\Asset\Packages;
 use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
@@ -22,6 +23,7 @@ use Symfony\WebpackEncoreBundle\Tests\TestEntrypointLookupIntegrityDataProviderI
 
 class TagRendererTest extends TestCase
 {
+    #[RequiresPhpunit('< 11')]
     public function testRenderScriptTagsWithDefaultAttributes()
     {
         $entrypointLookup = $this->createMock(EntrypointLookupInterface::class);
@@ -150,6 +152,7 @@ class TagRendererTest extends TestCase
         );
     }
 
+    #[RequiresPhpunit('< 11')]
     public function testRenderScriptTagsWithBadFilename()
     {
         $entrypointLookup = $this->createMock(EntrypointLookupInterface::class);
@@ -177,6 +180,7 @@ class TagRendererTest extends TestCase
         );
     }
 
+    #[RequiresPhpunit('< 11')]
     public function testRenderScriptTagsWithinAnEntryPointCollection()
     {
         $entrypointLookup = $this->createMock(EntrypointLookupInterface::class);
@@ -233,6 +237,7 @@ class TagRendererTest extends TestCase
         );
     }
 
+    #[RequiresPhpunit('< 11')]
     public function testRenderScriptTagsWithHashes()
     {
         $entrypointLookup = $this->createMock(TestEntrypointLookupIntegrityDataProviderInterface::class);