File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ protected function setUp(): void
53
53
54
54
55
55
/**
56
+ * @dataProvider provideTagsWithNumbers
56
57
* @dataProvider provideParamTagsData
57
58
* @dataProvider provideVarTagsData
58
59
* @dataProvider provideReturnTagsData
@@ -3219,6 +3220,20 @@ public function dataParseTagValue(): array
3219
3220
];
3220
3221
}
3221
3222
3223
+ public function provideTagsWithNumbers (): \Iterator
3224
+ {
3225
+ yield [
3226
+ 'OK without description and tag with number in it ' ,
3227
+ '/** @special3 Foo */ ' ,
3228
+ new PhpDocNode ([
3229
+ new PhpDocTagNode (
3230
+ '@special3 ' ,
3231
+ new GenericTagValueNode ('Foo ' )
3232
+ ),
3233
+ ]),
3234
+ ];
3235
+ }
3236
+
3222
3237
/**
3223
3238
* @dataProvider dataParseTagValue
3224
3239
* @param string $tag
You can’t perform that action at this time.
0 commit comments