Skip to content

Commit

Permalink
Erase @uses statements
Browse files Browse the repository at this point in the history
Since PHP 5.3 the 'use' statement is used for declare dependencies.
  • Loading branch information
Maks3w committed May 10, 2012
1 parent 70ea14e commit 331805d
Show file tree
Hide file tree
Showing 1,375 changed files with 298 additions and 3,060 deletions.
14 changes: 0 additions & 14 deletions library/Zend/Acl/Acl.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ class Acl
*
* @param Role\RoleInterface $role
* @param Role\RoleInterface|string|array $parents
* @uses Role\Registry::add()
* @throws Exception\InvalidArgumentException
* @return Acl Provides a fluent interface
*/
Expand All @@ -138,7 +137,6 @@ public function addRole($role, $parents = null)
* The $role parameter can either be a Role or Role identifier.
*
* @param Role\RoleInterface|string $role
* @uses Role\Registry::get()
* @return Role
*/
public function getRole($role)
Expand All @@ -152,7 +150,6 @@ public function getRole($role)
* The $role parameter can either be a Role or a Role identifier.
*
* @param Role\RoleInterface|string $role
* @uses Role\Registry::has()
* @return boolean
*/
public function hasRole($role)
Expand All @@ -169,7 +166,6 @@ public function hasRole($role)
* through the entire inheritance DAG to determine whether $role
* inherits from $inherit through its ancestor Roles.
*
* @uses Role\Registry::inherits()
* @param Role\RoleInterface|string $role
* @param Role\RoleInterface|string $inherit
* @param boolean $onlyParents
Expand All @@ -186,7 +182,6 @@ public function inheritsRole($role, $inherit, $onlyParents = false)
* The $role parameter can either be a Role or a Role identifier.
*
* @param Role\RoleInterface|string $role
* @uses Role\Registry::remove()
* @return Acl Provides a fluent interface
*/
public function removeRole($role)
Expand Down Expand Up @@ -220,7 +215,6 @@ public function removeRole($role)
/**
* Removes all Roles from the registry
*
* @uses Role\Registry::removeAll()
* @return Acl Provides a fluent interface
*/
public function removeRoleAll()
Expand Down Expand Up @@ -441,7 +435,6 @@ public function removeResourceAll()
/**
* Adds an "allow" rule to the ACL
*
* @uses Acl::setRule()
* @param Role\RoleInterface|string|array $roles
* @param Resource\ResourceInterface|string|array $resources
* @param string|array $privileges
Expand All @@ -456,7 +449,6 @@ public function allow($roles = null, $resources = null, $privileges = null, Asse
/**
* Adds a "deny" rule to the ACL
*
* @uses Acl::setRule()
* @param Role\RoleInterface|string|array $roles
* @param Resource\ResourceInterface|string|array $resources
* @param string|array $privileges
Expand All @@ -471,7 +463,6 @@ public function deny($roles = null, $resources = null, $privileges = null, Asser
/**
* Removes "allow" permissions from the ACL
*
* @uses Acl::setRule()
* @param Role\RoleInterface|string|array $roles
* @param Resource\ResourceInterface|string|array $resources
* @param string|array $privileges
Expand All @@ -485,7 +476,6 @@ public function removeAllow($roles = null, $resources = null, $privileges = null
/**
* Removes "deny" restrictions from the ACL
*
* @uses Acl::setRule()
* @param Role|string|array $roles
* @param Resource|string|array $resources
* @param string|array $privileges
Expand Down Expand Up @@ -537,8 +527,6 @@ public function removeDeny($roles = null, $resources = null, $privileges = null)
* when the rule's assertion fails. This is because the ACL needs to provide expected
* behavior when an assertion upon the default ACL rule fails.
*
* @uses Role\Registry::get()
* @uses Acl::get()
* @param string $operation
* @param string $type
* @param Role\RoleInterface|string|array $roles
Expand Down Expand Up @@ -691,8 +679,6 @@ public function setRule($operation, $type, $roles = null, $resources = null,
* and its respective parents are checked similarly before the lower-priority parents of
* the Role are checked.
*
* @uses Acl::get()
* @uses Role\Registry::get()
* @param Role\RoleInterface|string $role
* @param Resource\ResourceInterface|string $resource
* @param string $privilege
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Acl/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class InvalidArgumentException
implements \Zend\Acl\Exception\ExceptionInterface
{

}
}
2 changes: 1 addition & 1 deletion library/Zend/Acl/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class RuntimeException
implements \Zend\Acl\Exception\ExceptionInterface
{

}
}
1 change: 0 additions & 1 deletion library/Zend/Acl/Role/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ public function has($role)
*
* If the Role does not have any parents, then an empty array is returned.
*
* @uses Zend\Acl\Role\Registry::get()
* @param \Zend\Acl\Role\RoleInterface|string $role
* @return array
*/
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/AbstractAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
/**
* Base abstract class for AMF authentication implementation
*
* @uses \Zend\Authentication\Adapter
* @package Zend_Amf
* @subpackage Auth
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
4 changes: 0 additions & 4 deletions library/Zend/Amf/Adobe/Introspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
/**
* This class implements a service for generating AMF service descriptions as XML.
*
* @uses Zend\Amf\Parser\TypeLoader
* @uses Zend\Loader
* @uses Zend\Reflection\ReflectionClass
* @uses Zend\Server\Reflection
* @package Zend_Amf
* @subpackage Adobe
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Amf/Exception/BadMethodCallException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class BadMethodCallException
extends \BadMethodCallException
implements \Zend\Amf\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class InvalidArgumentException
extends \InvalidArgumentException
implements \Zend\Amf\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Exception/LengthException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class LengthException
extends \LengthException
implements \Zend\Amf\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class RuntimeException
extends \RuntimeException
implements \Zend\Amf\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Exception/UnderflowException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class UnderflowException
extends \UnderflowException
implements \Zend\Amf\Exception
{
}
}
6 changes: 0 additions & 6 deletions library/Zend/Amf/Parser/Amf0/Deserializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
*
* @todo Implement Typed Object Class Mapping
* @todo Class could be implmented as Factory Class with each data type it's own class
* @uses Zend\Amf\Constants
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Parser\Amf3\Deserializer
* @uses Zend\Amf\Parser\Deserializer
* @uses Zend\Amf\Parser\TypeLoader
* @uses Zend\Date\Date
* @package Zend_Amf
* @subpackage Parse_Amf0
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
5 changes: 0 additions & 5 deletions library/Zend/Amf/Parser/Amf0/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
/**
* Serializer PHP misc types back to there corresponding AMF0 Type Marker.
*
* @uses Zend\Amf\Constants
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Parser\Amf3\Serializer
* @uses Zend\Amf\Parser\Serializer
* @uses Zend\Amf\Parser\TypeLoader
* @package Zend_Amf
* @subpackage Parse_Amf0
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
5 changes: 0 additions & 5 deletions library/Zend/Amf/Parser/Amf3/Deserializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
* @todo readObject to handle Typed Objects
* @todo readXMLStrimg to be implemented.
* @todo Class could be implemented as Factory Class with each data type it's own class.
* @uses Zend\Amf\Constants
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Parser\Deserializer
* @uses Zend\Amf\Parser\TypeLoader
* @uses Zend\Date\Date
* @package Zend_Amf
* @subpackage Parse_Amf3
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
4 changes: 0 additions & 4 deletions library/Zend/Amf/Parser/Amf3/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
/**
* Detect PHP object type and convert it to a corresponding AMF3 object type
*
* @uses Zend\Amf\Constants
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Parser\Serializer
* @uses Zend\Amf\Parser\TypeLoader
* @package Zend_Amf
* @subpackage Parse_Amf3
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class InvalidArgumentException
extends \InvalidArgumentException
implements \Zend\Amf\Parser\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Parser/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class OutOfBoundsException
extends \OutOfBoundsException
implements \Zend\Amf\Parser\Exception
{
}
}
2 changes: 1 addition & 1 deletion library/Zend/Amf/Parser/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class RuntimeException
extends \RuntimeException
implements \Zend\Amf\Parser\Exception
{
}
}
1 change: 0 additions & 1 deletion library/Zend/Amf/Parser/InputStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
* InputStream extends BinaryStream as eventually BinaryStream could be placed
* outside of Zend_Amf in order to allow other packages to use the class.
*
* @uses Zend\Amf\Util\BinaryStream
* @package Zend_Amf
* @subpackage Parser
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Parser/OutputStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
* OutputStream extends BinaryStream as eventually BinaryStream could be placed
* outside of Zend_Amf in order to allow other packages to use the class.
*
* @uses Zend\Amf\Util\BinaryStream
* @package Zend_Amf
* @subpackage Parser
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
6 changes: 0 additions & 6 deletions library/Zend/Amf/Parser/TypeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
* Loads a local class and executes the instantiation of that class.
*
* @todo PHP 5.3 can drastically change this class w/ namespace and the new call_user_func w/ namespace
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Value\Messaging\AcknowledgeMessage
* @uses Zend\Amf\Value\Messaging\AsyncMessage
* @uses Zend\Amf\Value\Messaging\CommandMessage
* @uses Zend\Amf\Value\Messaging\ErrorMessage
* @uses Zend\Amf\Value\Messaging\RemotingMessage
* @package Zend_Amf
* @subpackage Parser
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
6 changes: 0 additions & 6 deletions library/Zend/Amf/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
* types and storing the data for Zend_Amf_Server to handle for processing.
*
* @todo Currently not checking if the object needs to be Type Mapped to a server object.
* @uses Zend\Amf\Constants
* @uses Zend\Amf\Exception
* @uses Zend\Amf\Parser\Amf0\Deserializer
* @uses Zend\Amf\Parser\InputStream
* @uses Zend\Amf\Value\MessageBody
* @uses Zend\Amf\Value\MessageHeader
* @package Zend_Amf
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Request/HttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* built at construction time using a raw POST; if no data is available, the
* request is declared a fault.
*
* @uses \Zend\Amf\Request\StreamRequest
* @package Zend_Amf
* @subpackage Request
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
6 changes: 0 additions & 6 deletions library/Zend/Amf/Request/StreamRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
* types and storing the data for Zend_Amf_Server to handle for processing.
*
* @todo Currently not checking if the object needs to be Type Mapped to a server object.
* @uses \Zend\Amf\Constants
* @uses \Zend\Amf\Exception
* @uses \Zend\Amf\Parser\Amf0\Deserializer
* @uses \Zend\Amf\Parser\InputStream
* @uses \Zend\Amf\Value\MessageBody
* @uses \Zend\Amf\Value\MessageHeader
* @package Zend_Amf
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
Expand Down
3 changes: 0 additions & 3 deletions library/Zend/Amf/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
/**
* Handles converting the PHP object ready for response back into AMF
*
* @uses \Zend\Amf\Constants
* @uses \Zend\Amf\Parser\Amf0\Serializer
* @uses \Zend\Amf\Parser\OutputStream
* @package Zend_Amf
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Response/HttpResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
/**
* Creates the proper http headers and send the serialized AMF stream to standard out.
*
* @uses \Zend\Amf\Response\StreamResponse
* @package Zend_Amf
* @subpackage Response
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
3 changes: 0 additions & 3 deletions library/Zend/Amf/Response/StreamResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
/**
* Handles converting the PHP object ready for response back into AMF
*
* @uses \Zend\Amf\Constants
* @uses \Zend\Amf\Parser\Amf0\Serializer
* @uses \Zend\Amf\Parser\OutputStream
* @package Zend_Amf
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Util/BinaryStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
/**
* Utility class to walk through a data stream byte by byte with conventional names
*
* @uses Zend\Amf\Exception
* @package Zend_Amf
* @subpackage Util
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Value/Messaging/AcknowledgeMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*
* flex.messaging.messages.AcknowledgeMessage
*
* @uses \Zend\Amf\Value\Messaging\AsyncMessage
* @package Zend_Amf
* @subpackage Value
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Value/Messaging/AsyncMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
* This type of message contains information necessary to perform
* point-to-point or publish-subscribe messaging.
*
* @uses \Zend\Amf\Value\Messaging\AbstractMessage
* @package Zend_Amf
* @subpackage Value
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Value/Messaging/CommandMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*
* Note: THESE VALUES MUST BE THE SAME ON CLIENT AND SERVER
*
* @uses \Zend\Amf\Value\Messaging\AsyncMessage
* @package Zend_Amf
* @subpackage Value
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Value/Messaging/ErrorMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*
* Corresponds to flex.messaging.messages.ErrorMessage
*
* @uses \Zend\Amf\Value\Messaging\AcknowledgeMessage
* @package Zend_Amf
* @subpackage Value
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Amf/Value/Messaging/RemotingMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*
* Corresponds to flex.messaging.messages.RemotingMessage
*
* @uses \Zend\Amf\Value\Messaging\AbstractMessage
* @package Zend_Amf
* @subpackage Value
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
namespace Zend\Authentication\Adapter\Exception;

/**
* @uses Zend\Authentication\Exception
* @category Zend
* @package Zend_Authentication
* @subpackage Adapter_Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class InvalidArgumentException
extends \InvalidArgumentException
implements ExceptionInterface
{
}
}
Loading

0 comments on commit 331805d

Please sign in to comment.