Bug Report
Summary
DocBlockScanner::getLongDescription does not include line breaks in the result. I could not determine whether this is a specification or a bug, but I report it as a bug for now.
Current behavior
As shown in the following code.
How to reproduce
$scanner = new Laminas\Code\Scanner\DocBlockScanner(<<<EOD
/**
* This is a test class.
*
* Test class description. Test class description. Test
* class description. Test class description. Test class description.
* Test class description.
*/
EOD);
var_dump($scanner->getLongDescription());
// string(143) "Test class description. Test class description. Test class description. Test class description. Test class description. Test class description."
Expected behavior
string(143) "Test class description. Test class description. Test
class description. Test class description. Test class description.
Test class description."
Bug Report
Summary
DocBlockScanner::getLongDescriptiondoes not include line breaks in the result. I could not determine whether this is a specification or a bug, but I report it as a bug for now.Current behavior
As shown in the following code.
How to reproduce
Expected behavior