Permalink
Browse files

Merge branch 'hotfix/4699'

Close #4699
  • Loading branch information...
2 parents 2706eec + b23952b commit 13e301a48f6d54f8381b6d054b96a2d3ef8ac499 @weierophinney weierophinney committed Jun 28, 2013
@@ -9,7 +9,10 @@
namespace Zend\Db\ResultSet;
-interface ResultSetInterface extends \Traversable, \Countable
+use Countable;
+use Traversable;
+
+interface ResultSetInterface extends Traversable, Countable
{
/**
* Can be anything traversable|array
@@ -9,9 +9,9 @@
namespace Zend\Feed\Reader;
-class Collection extends \ArrayObject
-{
-
+use ArrayObject;
+class Collection extends ArrayObject
+{
}
@@ -9,7 +9,9 @@
namespace Zend\Feed\Reader\Collection;
-abstract class AbstractCollection extends \ArrayObject
+use ArrayObject;
+
+abstract class AbstractCollection extends ArrayObject
{
/**
@@ -9,9 +9,9 @@
namespace Zend\Feed\Reader\Collection;
-class Collection extends \ArrayObject
-{
-
+use ArrayObject;
+class Collection extends ArrayObject
+{
}
@@ -13,7 +13,7 @@
use Zend\Feed\Reader;
use Zend\Feed\Reader\Extension;
-class Feed extends \Zend\Feed\Reader\Extension\AbstractFeed
+class Feed extends Extension\AbstractFeed
{
/**
* Get update period
@@ -46,6 +46,7 @@ public function getUpdatePeriod()
/**
* Get update frequency
+ *
* @return int
*/
public function getUpdateFrequency()
@@ -63,6 +64,7 @@ public function getUpdateFrequency()
/**
* Get update frequency as ticks
+ *
* @return int
*/
public function getUpdateFrequencyAsTicks()
@@ -12,25 +12,25 @@
use DateTime;
use DOMDocument;
use DOMElement;
+use Zend\Feed\Writer;
+use Zend\Feed\Writer\Renderer;
-class Deleted
- extends \Zend\Feed\Writer\Renderer\AbstractRenderer
- implements \Zend\Feed\Writer\Renderer\RendererInterface
+class Deleted extends Renderer\AbstractRenderer implements Renderer\RendererInterface
{
/**
* Constructor
*
- * @param \Zend\Feed\Writer\Deleted $container
+ * @param Writer\Deleted $container
*/
- public function __construct (\Zend\Feed\Writer\Deleted $container)
+ public function __construct (Writer\Deleted $container)
{
parent::__construct($container);
}
/**
* Render atom entry
*
- * @return \Zend\Feed\Writer\Renderer\Entry\Atom
+ * @return Writer\Renderer\Entry\Atom
*/
public function render()
{
@@ -11,24 +11,26 @@
use DOMDocument;
use DOMElement;
+use Zend\Feed\Writer;
+use Zend\Feed\Writer\Renderer;
-class Source extends AbstractAtom implements \Zend\Feed\Writer\Renderer\RendererInterface
+class Source extends AbstractAtom implements Renderer\RendererInterface
{
/**
* Constructor
*
- * @param \Zend\Feed\Writer\Source $container
+ * @param Writer\Source $container
*/
- public function __construct (\Zend\Feed\Writer\Source $container)
+ public function __construct (Writer\Source $container)
{
parent::__construct($container);
}
/**
* Render Atom Feed Metadata (Source element)
*
- * @return \Zend\Feed\Writer\Renderer\Feed\Atom
+ * @return Writer\Renderer\Feed\Atom
*/
public function render()
{
View
@@ -9,10 +9,12 @@
namespace Zend\Ldap;
+use ArrayAccess;
+
/**
* Zend\Ldap\Dn provides an API for DN manipulation
*/
-class Dn implements \ArrayAccess
+class Dn implements ArrayAccess
{
const ATTR_CASEFOLD_NONE = 'none';
const ATTR_CASEFOLD_UPPER = 'upper';
@@ -9,12 +9,13 @@
namespace Zend\Loader;
+use IteratorAggregate;
use Traversable;
/**
* Plugin class locator interface
*/
-interface PluginClassLocator extends ShortNameLocator, \IteratorAggregate
+interface PluginClassLocator extends ShortNameLocator, IteratorAggregate
{
/**
* Register a class to a given short name
@@ -9,6 +9,7 @@
namespace Zend\Mail\Storage\Writable;
+use RecursiveIteratorIterator;
use Zend\Mail\Exception as MailException;
use Zend\Mail\Storage;
use Zend\Mail\Storage\Exception as StorageException;
@@ -754,7 +755,7 @@ protected function _calculateMaildirsize()
}
}
- $folders = new \RecursiveIteratorIterator($this->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
+ $folders = new RecursiveIteratorIterator($this->getFolders(), RecursiveIteratorIterator::SELF_FIRST);
foreach ($folders as $folder) {
$subdir = $folder->getGlobalName();
if ($subdir == 'INBOX') {
@@ -9,7 +9,9 @@
namespace Zend\Permissions\Rbac;
-interface RoleInterface extends \RecursiveIterator
+use RecursiveIterator;
+
+interface RoleInterface extends RecursiveIterator
{
/**
* Get the name of the role.
@@ -9,13 +9,16 @@
namespace Zend\View\Helper;
+use Iterator;
+
/**
* Helper for alternating between set of values
*/
-class Cycle extends AbstractHelper implements \Iterator
+class Cycle extends AbstractHelper implements Iterator
{
/**
* Default name
+ *
* @var string
*/
const DEFAULT_NAME = 'default';
@@ -180,9 +183,9 @@ public function key()
{
if ($this->pointers[$this->name] < 0) {
return 0;
- } else {
- return $this->pointers[$this->name];
}
+
+ return $this->pointers[$this->name];
}
/**
@@ -9,12 +9,13 @@
namespace Zend\View\Helper\Placeholder\Container;
+use ArrayObject;
use Zend\View\Exception;
/**
* Abstract class representing container for placeholder values
*/
-abstract class AbstractContainer extends \ArrayObject
+abstract class AbstractContainer extends ArrayObject
{
/**
* Whether or not to override all contents of placeholder

0 comments on commit 13e301a

Please sign in to comment.