File: 0005-Group-noparser2-for-test-currently-failing-with-php-.patch

package info (click to toggle)
php-phpdocumentor-reflection-docblock 5.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,416 kB
  • sloc: php: 9,035; xml: 67; makefile: 54
file content (37 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (2)
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
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 18 Jan 2025 10:41:35 +0100
Subject: Group noparser2 for test currently failing with
 php-phpstan-phpdoc-parser 2

---
 tests/integration/InterpretingDocBlocksTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/integration/InterpretingDocBlocksTest.php b/tests/integration/InterpretingDocBlocksTest.php
index 95c44c9..7eb0791 100644
--- a/tests/integration/InterpretingDocBlocksTest.php
+++ b/tests/integration/InterpretingDocBlocksTest.php
@@ -36,6 +36,7 @@ use phpDocumentor\Reflection\Types\Object_;
 use phpDocumentor\Reflection\Types\Self_;
 use phpDocumentor\Reflection\Types\String_;
 use phpDocumentor\Reflection\Types\Void_;
+use PHPUnit\Framework\Attributes\Group;
 use PHPUnit\Framework\TestCase;
 
 /**
@@ -275,6 +276,7 @@ DOC;
         );
     }
 
+    #[Group('noparser2')]
     public function testRegressionWordpressDocblocks(): void
     {
         $docComment = <<<DOC
@@ -366,6 +368,7 @@ DOC;
         );
     }
 
+    #[Group('noparser2')]
     public function testIndentationIsKept(): void
     {
         $docComment = <<<DOC