Issues

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:

Description

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']); }

Comments

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: https://github.com/zendframework/zf2/issues/2608

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts