ZF-3208: Fatal error in Zend_Filter_InputTest

Description

The following results from latest Zend_Filter_InputTest:


   Zend_Filter_InputTest
   ..............
PHP Fatal error:  Declaration of TestNamespace_StringEquals::isValid() must be compatible with that of
Zend_Validate_Interface::isValid() in /var/local/zf/tests/Zend/Filter/_files/TestNamespace/StringEquals.php on line 76
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0
PHP   2. require() /usr/local/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command::main() /usr/local/lib/php/PHPUnit/TextUI/Command.php:528
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/lib/php/PHPUnit/TextUI/Command.php:112
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/TextUI/TestRunner.php:304
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   9. PHPUnit_Framework_TestSuite->runTest() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:664
PHP  10. PHPUnit_Framework_TestCase->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:684
PHP  11. PHPUnit_Framework_TestResult->run() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:384
PHP  12. PHPUnit_Framework_TestCase->runBare() /usr/local/lib/php/PHPUnit/Framework/TestResult.php:610
PHP  13. PHPUnit_Framework_TestCase->runTest() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:409
PHP  14. ReflectionMethod->invoke() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:484
PHP  15. Zend_Filter_InputTest->testValidatorMultiField() /var/local/zf/tests/Zend/Filter/InputTest.php:0
PHP  16. Zend_Filter_Input->hasMissing() /var/local/zf/tests/Zend/Filter/InputTest.php:407
PHP  17. Zend_Filter_Input->_process() /var/local/zf/library/Zend/Filter/Input.php:397
PHP  18. Zend_Filter_Input->_validate() /var/local/zf/library/Zend/Filter/Input.php:659
PHP  19. Zend_Filter_Input->_getValidator() /var/local/zf/library/Zend/Filter/Input.php:731
PHP  20. Zend_Filter_Input->_getFilterOrValidator() /var/local/zf/library/Zend/Filter/Input.php:889
PHP  21. Zend_Loader_PluginLoader->load() /var/local/zf/library/Zend/Filter/Input.php:908

As we approach a 1.5.2 release, this must be fixed in order to release an fully-executing test suite.

Comments

Resolved in trunk with SVN r9388 and for next mini-release (1.5.2) with SVN r9389.