ZF-11394: Testcase has bad doc block that makes auto-complete less efficient
Description
Zend_Test_PHPUnit_ControllerTestCase class has a bad doc block in getRequest and getResponse.
The doc block reports the return to be a Zend_Controller_Request_Abstract/Zend_Controller_Response_Abstract, when writing tests with this it means the autocomplete does not pickup in specific functions available in the Zend_Controller_Request_HttpTestCase/Zend_Controller_Response_HttpTestCase classes, making auto-complete less efficient.
Since the method always returns a Zend_Controller_Request_HttpTestCase i recommend altering the docblock.
Comments
Posted by Rafael Machado Dohms (rdohms) on 2011-05-21T13:00:45.000+0000
I have written a patch for this. I have a CLA but i need to setup my svn env for contributing, this is easier right now.
Posted by Rafael Machado Dohms (rdohms) on 2011-06-11T22:37:24.000+0000
Updated doc blocks
Posted by Rafael Machado Dohms (rdohms) on 2011-07-08T21:17:36.000+0000
Not merged into release-1.11 branch
Posted by Rafael Machado Dohms (rdohms) on 2011-07-08T21:18:12.000+0000
Merged into branch.