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

Commit

Permalink
Merge branch 'hotfix/code-cleanup' of https://github.com/Maks3w/zf2 i…
Browse files Browse the repository at this point in the history
…nto hotfix/uses-annotations
  • Loading branch information
weierophinney committed May 10, 2012
2 parents 80a9fd5 + d3a6ffd commit 46867a3
Show file tree
Hide file tree
Showing 17 changed files with 5 additions and 40 deletions.
4 changes: 0 additions & 4 deletions src/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
/**
* Decode JSON encoded string to PHP variable constructs
*
* @uses stdClass
* @uses Zend\Json\Json
* @uses Zend\Json\Exception\RuntimeException
* @uses Zend\Json\Exception\InvalidArgumentException
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
3 changes: 0 additions & 3 deletions src/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
/**
* Encode PHP constructs to JSON
*
* @uses ReflectionClass
* @uses Zend\Json\Exception\RecursionException
* @uses Zend\Json\Exception\InvalidArgumentException
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace Zend\Json;

/**
* @uses Zend\Exception
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
4 changes: 1 addition & 3 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
namespace Zend\Json\Exception;

/**
* @uses InvalidArgumentException
* @uses Zend\Json\Exception
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException extends \InvalidArgumentException implements \Zend\Json\Exception
{}
{}
3 changes: 1 addition & 2 deletions src/Exception/RecursionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
namespace Zend\Json\Exception;

/**
* @uses Zend\Json\Exception\RuntimeException
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RecursionException extends RuntimeException
{}
{}
4 changes: 1 addition & 3 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
namespace Zend\Json\Exception;

/**
* @uses RuntimeException
* @uses Zend\Json\Exception
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException extends \RuntimeException implements \Zend\Json\Exception
{}
{}
5 changes: 0 additions & 5 deletions src/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
/**
* Class for encoding to and decoding from JSON.
*
* @uses Zend\Json\Decoder
* @uses Zend\Json\Encoder
* @uses Zend\Json\Exception\RuntimeException
* @uses Zend\Json\Exception\RecursionException
* @uses Zend\Json\Expr
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion src/Server/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
/**
* Zend_Json_Server_Cache: cache Zend_Json_Server server definition and SMD
*
* @uses \Zend\Server\Cache
* @category Zend
* @package Zend_Json
* @subpackage Server
Expand Down
1 change: 0 additions & 1 deletion src/Server/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace Zend\Json\Server;

/**
* @uses \Zend\Json\Json
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion src/Server/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace Zend\Json\Server;

/**
* @uses Zend\Json\Exception
* @category Zend
* @package Zend_Json
* @subpackage Server
Expand Down
4 changes: 1 addition & 3 deletions src/Server/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
namespace Zend\Json\Server\Exception;

/**
* @uses InvalidArgumentException
* @uses Zend\Json\Server\Exception
* @category Zend
* @package Zend_Json
* @subpackage Server
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException extends \InvalidArgumentException implements \Zend\Json\Server\Exception
{}
{}
4 changes: 1 addition & 3 deletions src/Server/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
namespace Zend\Json\Server\Exception;

/**
* @uses RuntimeException
* @uses Zend\Json\Server\Exception
* @category Zend
* @package Zend_Json
* @subpackage Server
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException extends \RuntimeException implements \Zend\Json\Server\Exception
{}
{}
1 change: 0 additions & 1 deletion src/Server/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

/**
* @todo Revised method regex to allow NS; however, should SMD be revised to strip PHP NS instead when attaching functions?
* @uses Zend\Json\Json
* @category Zend
* @package Zend_Json
* @subpackage Server
Expand Down
1 change: 0 additions & 1 deletion src/Server/Request/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use Zend\Json\Server\Request as JsonRequest;

/**
* @uses \Zend\Json\Server\Request\Request
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion src/Server/Response/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use Zend\Json\Server\Response as JsonResponse;

/**
* @uses \Zend\Json\Server\Response\Response
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
4 changes: 0 additions & 4 deletions src/Server/Smd.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
Zend\Json\Server\Exception\RuntimeException;

/**
* @uses Zend\Json\Json
* @uses Zend\Json\Server\Exception\InvalidArgumentException
* @uses Zend\Json\Server\Exception\RuntimeException
* @uses Zend\Json\Server\Smd\Service
* @category Zend
* @package Zend_Json
* @subpackage Server
Expand Down
3 changes: 0 additions & 3 deletions src/Server/Smd/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
* Create Service Mapping Description for a method
*
* @todo Revised method regex to allow NS; however, should SMD be revised to strip PHP NS instead when attaching functions?
* @uses Zend\Json\Json
* @uses Zend\Json\Server\Exception\InvalidArgumentException
* @uses Zend\Json\Server\Smd\Smd
* @package Zend_Json
* @subpackage Server
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down

0 comments on commit 46867a3

Please sign in to comment.