Skip to content

Commit

Permalink
Fix use statements in Zend\Json
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic authored and weierophinney committed Jul 9, 2012
1 parent 0eb2366 commit 22a52ef
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Json/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Json;

use Zend\Json\Exception\RuntimeException,
Zend\Json\Exception\InvalidArgumentException;
use Zend\Json\Exception\RuntimeException;
use Zend\Json\Exception\InvalidArgumentException;

/**
* Decode JSON encoded string to PHP variable constructs
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Json/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Json;

use Zend\Json\Exception\RecursionException,
Zend\Json\Exception\InvalidArgumentException;
use Zend\Json\Exception\RecursionException;
use Zend\Json\Exception\InvalidArgumentException;

/**
* Encode PHP constructs to JSON
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Json/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Json;

use Zend\Json\Exception\RuntimeException,
Zend\Json\Exception\RecursionException;
use Zend\Json\Exception\RuntimeException;
use Zend\Json\Exception\RecursionException;

/**
* Class for encoding to and decoding from JSON.
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Json/Server/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Json\Server;

use Zend\Http\Client as HttpClient,
Zend\Server\Client as ServerClient;
use Zend\Http\Client as HttpClient;
use Zend\Server\Client as ServerClient;

/**
* @category Zend
Expand Down
12 changes: 6 additions & 6 deletions library/Zend/Json/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace Zend\Json\Server;

use ReflectionFunction,
ReflectionMethod,
Zend\Server\AbstractServer,
Zend\Server\Definition,
Zend\Server\Method,
Zend\Server\Reflection;
use ReflectionFunction;
use ReflectionMethod;
use Zend\Server\AbstractServer;
use Zend\Server\Definition;
use Zend\Server\Method;
use Zend\Server\Reflection;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Json/Server/Smd.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/

namespace Zend\Json\Server;
use Zend\Json\Server\Exception\InvalidArgumentException,
Zend\Json\Server\Exception\RuntimeException;
use Zend\Json\Server\Exception\InvalidArgumentException;
use Zend\Json\Server\Exception\RuntimeException;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions library/Zend/Json/Server/Smd/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/

namespace Zend\Json\Server\Smd;
use Zend\Json\Server\Smd,
Zend\Json\Server,
Zend\Json\Server\Exception\InvalidArgumentException;
use Zend\Json\Server\Smd;
use Zend\Json\Server;
use Zend\Json\Server\Exception\InvalidArgumentException;

/**
* Create Service Mapping Description for a method
Expand Down
12 changes: 6 additions & 6 deletions tests/Zend/Json/Server/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace ZendTest\Json\Server;

use Zend\Http\Client as HttpClient,
Zend\Http\Client\Adapter\Test as TestAdapter,
Zend\Json\Server\Client,
Zend\Json\Server\Error,
Zend\Json\Server\Request,
Zend\Json\Server\Response;
use Zend\Http\Client as HttpClient;
use Zend\Http\Client\Adapter\Test as TestAdapter;
use Zend\Json\Server\Client;
use Zend\Json\Server\Error;
use Zend\Json\Server\Request;
use Zend\Json\Server\Response;

/**
* Test case for Zend\Json\Server\Client
Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Json/Server/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*/

namespace ZendTest\Json\Server;
use Zend\Json\Server,
Zend\Json;
use Zend\Json\Server;
use Zend\Json;

/**
* Test class for Zend_JSON_Server_Response
Expand Down
10 changes: 5 additions & 5 deletions tests/Zend/Json/Server/SmdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/

namespace ZendTest\Json\Server;
use Zend\Json\Server\Smd,
Zend\Json\Server,
Zend\Json\Server\Exception\InvalidArgumentException,
Zend\Json\Server\Exception\RuntimeException,
Zend\Json;
use Zend\Json\Server\Smd;
use Zend\Json\Server;
use Zend\Json\Server\Exception\InvalidArgumentException;
use Zend\Json\Server\Exception\RuntimeException;
use Zend\Json;

/**
* Test class for Zend_JSON_Server_Smd
Expand Down
8 changes: 4 additions & 4 deletions tests/Zend/Json/ServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
*/

namespace ZendTest\Json;
use Zend\Json\Server,
Zend\Json,
Zend\Json\Server\Request,
Zend\Json\Server\Response;
use Zend\Json\Server;
use Zend\Json;
use Zend\Json\Server\Request;
use Zend\Json\Server\Response;

/**
* Test class for Zend_JSON_Server
Expand Down

0 comments on commit 22a52ef

Please sign in to comment.