You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/PHPStan/Parser/PhpDocParserTest.php
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1004,11 +1004,34 @@ public function provideDeprecatedTagsData(): \Iterator
1004
1004
newPhpDocNode([
1005
1005
newPhpDocTagNode(
1006
1006
'@deprecated',
1007
-
newDeprecatedTagValueNode('in Drupal 8.6.0 and will be removed before Drupal 9.0.0. In')
1007
+
newDeprecatedTagValueNode('in Drupal 8.6.0 and will be removed before Drupal 9.0.0. In Drupal 9 there will be no way to set the status and in Drupal 8 this ability has been removed because mb_*() functions are supplied using Symfony\'s polyfill.')
1008
+
),
1009
+
]),
1010
+
];
1011
+
yield [
1012
+
'OK with multiple and long descriptions',
1013
+
'/**
1014
+
* Sample class
1015
+
*
1016
+
* @author Foo Baz <foo@baz.com>
1017
+
*
1018
+
* @deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. In
1019
+
* Drupal 9 there will be no way to set the status and in Drupal 8 this
1020
+
* ability has been removed because mb_*() functions are supplied using
1021
+
* Symfony\'s polyfill.
1022
+
*/',
1023
+
newPhpDocNode([
1024
+
newPhpDocTextNode('Sample class'),
1025
+
newPhpDocTextNode(''),
1026
+
newPhpDocTagNode(
1027
+
'@author',
1028
+
newGenericTagValueNode('Foo Baz <foo@baz.com>')
1029
+
),
1030
+
newPhpDocTextNode(''),
1031
+
newPhpDocTagNode(
1032
+
'@deprecated',
1033
+
newDeprecatedTagValueNode('in Drupal 8.6.0 and will be removed before Drupal 9.0.0. In Drupal 9 there will be no way to set the status and in Drupal 8 this ability has been removed because mb_*() functions are supplied using Symfony\'s polyfill.')
1008
1034
),
1009
-
newPhpDocTextNode('Drupal 9 there will be no way to set the status and in Drupal 8 this'),
1010
-
newPhpDocTextNode('ability has been removed because mb_*() functions are supplied using'),
0 commit comments