Issue Type: Unit Tests: Problem Created: 2010-08-23T12:17:02.000+0000 Last Updated: 2010-09-18T12:57:59.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)
Reporter: Benoît Durand (intiilapa) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Loader
Related issues: - ZF-10134
We can not run Zend_Loader_AutoloaderTest (and AllTests.php in fact), because the testClosuresRegisteredWithAutoloaderShouldBeUtilized() method use a closure. A closure in PHP 5.2.x is a syntax error. And, you can't skip a syntax error with "version_compare(PHP_VERSION, '5.3.0', '<'))".
$ phpunit --colors tests/Zend/Loader/AutoloaderTest.php PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /zf-svn/tests/Zend/Loader/AutoloaderTest.php on line 394
Posted by Ramon Henrique Ornelas (ramon) on 2010-08-23T12:45:23.000+0000
I think that [~thomas] reported problem similar.
Posted by Ramon Henrique Ornelas (ramon) on 2010-08-23T12:50:28.000+0000
Here is the issue ZF-10134.
Posted by Ramon Henrique Ornelas (ramon) on 2010-09-18T12:57:59.000+0000
Fixed with r22969.
Have you found an issue?
See the Overview section for more details.