ZF2-583: DocblockScanner doesn't return tags correctly with tab indenting

Issue Type: Bug Created: 2012-09-25T09:21:09.000+0000 Last Updated: 2012-10-08T20:11:03.000+0000 Status: Closed Fix version(s): Reporter: Bram Gerritsen (bramstroker) Assignee: Ralph Schindler (ralph) Tags: - Zend\Code\Scanner

Related issues: Attachments:


I've written the following unit test in \Zend\Code\Scanner\DocBlockScannerTest to reproduce the problem, but no tags are returned by the scanner. My attempt to fix the bug and create a pull request failed, because I kept introducing other bugs.

public function testDocBlockScannerParsesTagsWithTabIndenting() { $docComment = <<getTags(); $this->assertCount(1, $tags); $this->assertEquals('@return', $tags[0]['name']); $this->assertEquals(' string', $tags[0]['value']); }


Posted by Ralph Schindler (ralph) on 2012-10-08T20:11:03.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.