Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4421'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed May 23, 2013
151 parents dd7c7b1 + e4fdd4c + 4ea852c + 6e89cc1 + 46b4569 + b0e12bf + 40d2cad + dcdecad + 978a0d2 + f68efae + 24315d0 + 90bab68 + d5240ce + a4cf61f + 737988b + 24b691f + b2ba0b2 + 3df4d2a + d37df59 + 7f0c1ad + 25ddb64 + 61dafd7 + 6eb1418 + 72e4c73 + 484fecb + 17ed9ab + 9881dbb + 6d7f5ab + 561ef2b + 567588e + ec0d061 + 3a9c051 + ffadf7b + 8c8ab46 + 56dffee + 9b3291e + 72011a1 + 79d20ae + 0023b68 + 203219a + 51f1e65 + adba36a + 48704a6 + 3ed141c + a79cdbd + 73871a0 + 47d468d + 538d0f4 + b5ad75a + 2363c4f + 91c2337 + 04dcb58 + 906c7b6 + 0da7bb6 + 0270a77 + 6784c86 + 90d950a + 3b5ea7f + 339830e + b04f4d5 + 8da9d32 + 0e2a882 + f0829e4 + c66d3bb + c44c042 + e2121f5 + 19560b1 + f08a210 + 294332a + 3ab34f5 + bb64c7d + b204532 + 1e8aff5 + da2423f + 7fce745 + 6c8026c + a449c92 + c9f86d3 + b2b0ea1 + 3b554ac + 4deeef8 + c6f5d24 + fdaf0f2 + 6047973 + 66f79d5 + ef273f8 + 6c44bc5 + ddae1cc + fc0f217 + 05d994b + 386083b + 7890c16 + 07c51ae + a62d81b + 53960c5 + 3521702 + e2fdffd + 160ad66 + 10bff24 + 944d975 + 71f09ad + 03fbbc3 + 5d527bf + 4281c0c + cc36360 + b1dde09 + e21037b + 08b1d98 + e693e44 + 0bd83de + 5dce05d + 3641177 + 226d56e + 6b82dec + 30e3679 + d702695 + e95ddeb + 6f8f3b1 + 9a73c30 + ef8261e + d9444bc + 1c0773a + e1a1f7a + 7781996 + 1524272 + 7cec1e0 + cf88eec + c11f566 + 0351056 + b5d005e + afdf14f + 94358ed + 6102afa + 1e99572 + 31681fd + 313e55d + 201b9ed + 27ee3a0 + cdbfa8a + ffed7ac + 0649e63 + dea5f03 + 73dcc77 + 5cce900 + 06d6397 + aaeffe0 + fab0f36 + 549fb43 + 299aee9 + 6cf210f + c4c7940 commit d33ea7d
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Client/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Zend\XmlRpc\Exception\ExceptionInterface as Exception;

/**
* Base class for all Zend_XmlRpc_Client_* exceptions
* Base class for all Zend\XmlRpc\Client\* exceptions
*/
interface ExceptionInterface extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Exception/FaultException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Zend\XmlRpc\Exception;

/**
* Thrown by Zend_XmlRpc_Client when an XML-RPC fault response is returned.
* Thrown by Zend\XmlRpc\Client when an XML-RPC fault response is returned.
*/
class FaultException extends Exception\BadMethodCallException implements ExceptionInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Exception/HttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Zend\XmlRpc\Client\Exception;

/**
* Thrown by Zend_XmlRpc_Client when an HTTP error occurs during an
* Thrown by Zend\XmlRpc\Client when an HTTP error occurs during an
* XML-RPC method call.
*/
class HttpException extends RuntimeException
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Exception/IntrospectException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Zend\XmlRpc\Client\Exception;

/**
* Thrown by Zend_XmlRpc_Client_Introspection when any error occurs.
* Thrown by Zend\XmlRpc\Client\ServerIntrospection when any error occurs.
*/
class IntrospectException extends InvalidArgumentException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Fault.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* fault, as well as generating the XML for an XMLRPC fault response.
*
* To allow method chaining, you may only use the {@link getInstance()} factory
* to instantiate a Zend_XmlRpc_Server_Fault.
* to instantiate a Zend\XmlRpc\Server\Fault.
*/
class Fault
{
Expand Down
2 changes: 1 addition & 1 deletion src/Request/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* XmlRpc Request object -- Request via HTTP
*
* Extends {@link Zend_XmlRpc_Request} to accept a request via HTTP. Request is
* Extends {@link Zend\XmlRpc\Request} to accept a request via HTTP. Request is
* built at construction time using a raw POST; if no data is available, the
* request is declared a fault.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Request/Stdin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* XmlRpc Request object -- Request via STDIN
*
* Extends {@link Zend_XmlRpc_Request} to accept a request via STDIN. Request is
* Extends {@link Zend\XmlRpc\Request} to accept a request via STDIN. Request is
* built at construction time using data from STDIN; if no data is available, the
* request is declared a fault.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public function loadFunctions($definition)
} else {
$type = gettype($definition);
}
throw new Server\Exception\InvalidArgumentException('Unable to load server definition; must be an array or Zend_Server_Definition, received ' . $type, 612);
throw new Server\Exception\InvalidArgumentException('Unable to load server definition; must be an array or Zend\Server\Definition, received ' . $type, 612);
}

$this->table->clearMethods();
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Zend\XmlRpc\Server;

/**
* Zend_XmlRpc_Server_Cache: cache Zend_XmlRpc_Server server definition
* Zend\XmlRpc\Server\Cache: cache Zend\XmlRpc\Server server definition
*/
class Cache extends \Zend\Server\Cache
{
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Zend\XmlRpc\Exception\ExceptionInterface as Exception;

/**
* Zend_XmlRpc_Server_Exception
* Zend\XmlRpc\Server\Exception
*/
interface ExceptionInterface extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Fault.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* need only implement a static 'observe' method.
*
* To allow method chaining, you may use the {@link getInstance()} factory
* to instantiate a Zend_XmlRpc_Server_Fault.
* to instantiate a Zend\XmlRpc\Server\Fault.
*/
class Fault extends \Zend\XmlRpc\Fault
{
Expand Down
2 changes: 1 addition & 1 deletion src/Value/AbstractCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct($value)
{
$values = (array)$value; // Make sure that the value is an array
foreach ($values as $key => $value) {
// If the elements of the given array are not Zend_XmlRpc_Value objects,
// If the elements of the given array are not Zend\XmlRpc\Value objects,
// we need to convert them as such (using auto-detection from PHP value)
if (!$value instanceof parent) {
$value = static::getXmlRpcValue($value, self::AUTO_DETECT_TYPE);
Expand Down
4 changes: 2 additions & 2 deletions test/ServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,13 @@ public function testAddFunctionThrowsExceptionWithBadData()
public function testLoadFunctionsThrowsExceptionWithBadData()
{
$o = new \stdClass();
$this->setExpectedException('Zend\XmlRpc\Server\Exception\InvalidArgumentException', 'Unable to load server definition; must be an array or Zend_Server_Definition, received stdClass');
$this->setExpectedException('Zend\XmlRpc\Server\Exception\InvalidArgumentException', 'Unable to load server definition; must be an array or Zend\Server\Definition, received stdClass');
$this->_server->loadFunctions($o);
}

public function testLoadFunctionsThrowsExceptionsWithBadData2()
{
$this->setExpectedException('Zend\XmlRpc\Server\Exception\InvalidArgumentException', 'Unable to load server definition; must be an array or Zend_Server_Definition, received string');
$this->setExpectedException('Zend\XmlRpc\Server\Exception\InvalidArgumentException', 'Unable to load server definition; must be an array or Zend\Server\Definition, received string');
$this->_server->loadFunctions('foo');
}

Expand Down

0 comments on commit d33ea7d

Please sign in to comment.