Issues

ZF2-63: Unit tests problems in Zend\Code

Issue Type: Unit Tests: Problem Created: 2011-09-04T17:38:12.000+0000 Last Updated: 2012-05-18T15:35:44.000+0000 Status: Resolved Fix version(s): Reporter: BenoƮt Durand (intiilapa) Assignee: Maks 3w (maks3w) Tags: - Zend\Code\Scanner

Related issues: Attachments:

Description

Can you add Zend\Code as component?

<pre class="highlight">
$ phpunit Zend/Code
PHPUnit 3.5.10 by Sebastian Bergmann.

......F
PHP Fatal error:  Class 'Zend\Code\Scanner\DerivedScanner\AggregateDirectoryScanner' not found in zf2/tests/Zend/Code/Scanner/DerivedScanner/DerivedClassScannerTest.php on line 16



<pre class="highlight">
Declaration of Zend\Code\Scanner\AggregateDirectoryScanner::getClasses() should be compatible with that of Zend\Code\Scanner\DirectoryScanner::getClasses()

zf2/library/Zend/Code/Scanner/AggregateDirectoryScanner.php:112

Ralph, can you fixes this class of unit tests in your refactor of code component?

Comments

Posted by Kazusuke Sasezaki (sasezaki) on 2012-05-11T23:17:32.000+0000

now, latest master "OK, but incomplete or skipped tests!"

Posted by Maks 3w (maks3w) on 2012-05-18T15:35:44.000+0000

Fixed

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