regex fix for ellipsis in summary text;

This commit is contained in:
Chuck Burgess
2018-01-07 08:51:10 -06:00
parent 2f482c78b0
commit fb948e8a52
+1 -1
View File
@@ -166,7 +166,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
[^\n.]+ [^\n.]+
(?: (?:
(?! \. \n | \n{2} ) # End summary upon a dot followed by newline or two newlines (?! \. \n | \n{2} ) # End summary upon a dot followed by newline or two newlines
[\n.] (?! [ \t]* @\pL ) # End summary when an @ is found as first character on a new line [\n.]* (?! [ \t]* @\pL ) # End summary when an @ is found as first character on a new line
[^\n.]+ # Include anything else [^\n.]+ # Include anything else
)* )*
\.? \.?