We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2c01c1 commit 2ce4c66Copy full SHA for 2ce4c66
tests/PHPStan/Parser/PhpDocParserTest.php
@@ -53,6 +53,7 @@ protected function setUp(): void
53
54
55
/**
56
+ * @dataProvider provideTagsWithNumbers
57
* @dataProvider provideParamTagsData
58
* @dataProvider provideVarTagsData
59
* @dataProvider provideReturnTagsData
@@ -3219,6 +3220,20 @@ public function dataParseTagValue(): array
3219
3220
];
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
+
3237
3238
* @dataProvider dataParseTagValue
3239
* @param string $tag
0 commit comments