File: use-Group-attribute-instead-of-deprecated-group.patch

package info (click to toggle)
libphp-swiftmailer 6.3.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,164 kB
  • sloc: php: 27,203; sh: 36; makefile: 16
file content (67 lines) | stat: -rw-r--r-- 2,293 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From: Joe Nahmias <jello@debian.org>
Date: Thu, 11 Sep 2025 22:47:54 -0400
Subject: use Group attribute instead of deprecated @group

---
 tests/smoke/Swift/Smoke/AttachmentSmokeTest.php         | 4 +---
 tests/smoke/Swift/Smoke/BasicSmokeTest.php              | 4 +---
 tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php | 4 +---
 tests/smoke/Swift/Smoke/InternationalSmokeTest.php      | 4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php b/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php
index 756d1dc..8b3f359 100644
--- a/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php
+++ b/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php
@@ -1,8 +1,6 @@
 <?php
 
-/**
- * @group smoke
- */
+#[\PHPUnit\Framework\Attributes\Group('smoke')]
 class Swift_Smoke_AttachmentSmokeTest extends SwiftMailerSmokeTestCase
 {
     private $attFile;
diff --git a/tests/smoke/Swift/Smoke/BasicSmokeTest.php b/tests/smoke/Swift/Smoke/BasicSmokeTest.php
index 79915b3..322d3d5 100644
--- a/tests/smoke/Swift/Smoke/BasicSmokeTest.php
+++ b/tests/smoke/Swift/Smoke/BasicSmokeTest.php
@@ -1,8 +1,6 @@
 <?php
 
-/**
- * @group smoke
- */
+#[\PHPUnit\Framework\Attributes\Group('smoke')]
 class Swift_Smoke_BasicSmokeTest extends SwiftMailerSmokeTestCase
 {
     public function testBasicSending()
diff --git a/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php b/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php
index 4efdfd9..b417dbf 100644
--- a/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php
+++ b/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php
@@ -1,8 +1,6 @@
 <?php
 
-/**
- * @group smoke
- */
+#[\PHPUnit\Framework\Attributes\Group('smoke')]
 class Swift_Smoke_HtmlWithAttachmentSmokeTest extends SwiftMailerSmokeTestCase
 {
     private $attFile;
diff --git a/tests/smoke/Swift/Smoke/InternationalSmokeTest.php b/tests/smoke/Swift/Smoke/InternationalSmokeTest.php
index d9131ba..2e3d085 100644
--- a/tests/smoke/Swift/Smoke/InternationalSmokeTest.php
+++ b/tests/smoke/Swift/Smoke/InternationalSmokeTest.php
@@ -1,8 +1,6 @@
 <?php
 
-/**
- * @group smoke
- */
+#[\PHPUnit\Framework\Attributes\Group('smoke')]
 class Swift_Smoke_InternationalSmokeTest extends SwiftMailerSmokeTestCase
 {
     private $attFile;