import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -58,7 +58,7 @@ abstract class Zend_Test_PHPUnit_ControllerTestCase extends PHPUnit_Framework_Te
protected $_response;
/**
* Overlaoding: prevent overloading to special properties
* Overloading: prevent overloading to special properties
*
* @param string $name
* @param mixed $value
@ -67,6 +67,7 @@ abstract class Zend_Test_PHPUnit_ControllerTestCase extends PHPUnit_Framework_Te
public function __set($name, $value)
{
if (in_array($name, array('request', 'response', 'frontController'))) {
require_once 'Zend/Exception.php';
throw new Zend_Exception(sprintf('Setting %s object manually is not allowed', $name));
}
$this->$name = $value;