ZF-1010: Fatal error: Call to undefined method Zend_Filter::ishostname() in /home/sebastian/Work/ZendFramework/library/Zend/Uri/Http.php on line 338

Description

sh-3.1$ svn up At revision 3712. sh-3.1$ phpunit -d include_path=.:incubator/library/:library/:tests/:/opt/php/lib/php AllTests tests/AllTests.php PHPUnit 3.0.3 by Sebastian Bergmann.

......................................... ......................................... ......................................... ......................................... .........................SSSSSSSS........ ......................................... ......................................... ...................... Fatal error: Call to undefined method Zend_Filter::ishostname() in /home/sebastian/Work/ZendFramework/library/Zend/Uri/Http.php on line 338

Call Stack: 0.0003 53032 1. {main}() /opt/php/bin/phpunit:0 0.0026 168756 2. require('/opt/php/lib/php/PHPUnit/TextUI/Command.php') /opt/php/bin/phpunit:44 0.0676 2696788 3. PHPUnit_TextUI_Command::main() /opt/php/lib/php/PHPUnit/TextUI/Command.php:401 1.9246 36277076 4. PHPUnit_TextUI_TestRunner->doRun() /opt/php/lib/php/PHPUnit/TextUI/Command.php:100 1.9250 36278120 5. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/TextUI/TestRunner.php:247 2.1348 36289440 6. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 2.6055 37522532 7. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 2.6195 37530096 8. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 2.6535 37602008 9. PHPUnit_Framework_TestSuite->runTest() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:491 2.6535 37602008 10. PHPUnit_Framework_TestCase->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:510 2.6535 37602008 11. PHPUnit_Framework_TestResult->run() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:223 2.6536 37602008 12. PHPUnit_Framework_TestCase->runBare() /opt/php/lib/php/PHPUnit/Framework/TestResult.php:529 2.6540 37602692 13. PHPUnit_Framework_TestCase->runTest() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:243 2.6540 37602692 14. ReflectionMethod->invoke() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:300 2.6540 37602692 15. Zend_Controller_Dispatcher_StandardTest->testNoModuleOrControllerDefaultsCorrectly() /home/sebastian/Work/ZendFramework/tests/Zend/Controller/Dispatcher/StandardTest.php:0 2.6540 37602692 16. Zend_Controller_Request_Http->__construct() /home/sebastian/Work/ZendFramework/tests/Zend/Controller/Dispatcher/StandardTest.php:273 2.6540 37602692 17. Zend_Uri::factory() /home/sebastian/Work/ZendFramework/library/Zend/Controller/Request/Http.php:91 2.6541 37602692 18. Zend_Uri_Http->__construct() /home/sebastian/Work/ZendFramework/library/Zend/Uri.php:128 2.6543 37603492 19. Zend_Uri_Http->valid() /home/sebastian/Work/ZendFramework/library/Zend/Uri/Http.php:91 2.6543 37603492 20. Zend_Uri_Http->validateHost() /home/sebastian/Work/ZendFramework/library/Zend/Uri/Http.php:176

Comments

This is also a unit-testing problem, but Zend_Filter were changed but no classes using it were modified to use the new Zend_Filter class, so you cannot use it.

Resolved in revision 3721.