Skip to content

Commit

Permalink
Alphabetically order use statements (related to zendframework#4338)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Apr 28, 2013
1 parent 3af0591 commit 226dc09
Show file tree
Hide file tree
Showing 78 changed files with 101 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Zend\Authentication\Adapter\Http;

use Zend\Authentication\Result as AuthResult;
use Zend\Crypt\Password\Apache as ApachePassword;
use Zend\Stdlib\ErrorHandler;
use Zend\Authentication\Result as AuthResult;

/**
* Apache Authentication Resolver
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Storage/Chain.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Zend\Authentication\Storage;

use Zend\Stdlib\PriorityQueue;
use Zend\Authentication\Storage\StorageInterface;
use Zend\Stdlib\PriorityQueue;

class Chain implements StorageInterface
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Cache/Service/StorageCacheFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Zend\Cache\Service;

use Zend\Cache\StorageFactory;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\Cache\StorageFactory;

/**
* Storage cache factory.
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Cache/Storage/Adapter/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use Redis as RedisResource;
use RedisException as RedisResourceException;

use stdClass;
use Zend\Cache\Storage\Adapter\AbstractAdapter;
use Zend\Cache\Exception;
Expand Down
3 changes: 1 addition & 2 deletions library/Zend/Cache/Storage/Adapter/RedisOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@

namespace Zend\Cache\Storage\Adapter;

use Zend\Cache\Storage\Adapter\AdapterOptions;

use Redis as RedisResource;
use Zend\Cache\Storage\Adapter\AdapterOptions;

class RedisOptions extends AdapterOptions
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Captcha/AbstractWord.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Zend\Captcha;

use Zend\Session\Container;
use Zend\Math\Rand;
use Zend\Session\Container;

/**
* AbstractWord-based captcha adapter
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Code/Generator/DocBlock/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

namespace Zend\Code\Generator\DocBlock;

use Zend\Code\Generator\AbstractGenerator;
use Zend\Code\Reflection\DocBlock\Tag\TagInterface as ReflectionDocBlockTag;
use ReflectionClass;
use ReflectionMethod;
use Zend\Code\Generator\AbstractGenerator;
use Zend\Code\Reflection\DocBlock\Tag\TagInterface as ReflectionDocBlockTag;

class Tag extends AbstractGenerator
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Code/Reflection/DocBlock/TagManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Zend\Code\Reflection\DocBlock;

use Zend\Code\Reflection\Exception;
use Zend\Code\Reflection\DocBlock\Tag\GenericTag;
use Zend\Code\Reflection\DocBlock\Tag\TagInterface;
use Zend\Code\Reflection\Exception;

class TagManager
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Code/Reflection/DocBlockReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

namespace Zend\Code\Reflection;

use Reflector;
use Zend\Code\Reflection\DocBlock\Tag\TagInterface as DocBlockTagInterface;
use Zend\Code\Reflection\DocBlock\TagManager as DocBlockTagManager;
use Zend\Code\Scanner\DocBlockScanner;
use Reflector;

class DocBlockReflection implements ReflectionInterface
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Console/Adapter/WindowsAnsicon.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace Zend\Console\Adapter;

use Zend\Console\Charset;
use Zend\Console\Charset\CharsetInterface;
use Zend\Console\Exception;
use Zend\Console\Charset;

/**
* MS Windows with ANSICON console adapter
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Console/Prompt/AbstractPrompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Zend\Console\Prompt;

use ReflectionClass;
use Zend\Console\Console;
use Zend\Console\Adapter\AdapterInterface as ConsoleAdapter;
use Zend\Console\Console;
use Zend\Console\Exception;

abstract class AbstractPrompt implements PromptInterface
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Crypt/PublicKey/Rsa.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Zend\Crypt\PublicKey;

use Traversable;
use Zend\Crypt\PublicKey\RsaOptions;
use Zend\Crypt\PublicKey\Rsa\Exception;
use Zend\Crypt\PublicKey\RsaOptions;
use Zend\Stdlib\ArrayUtils;

/**
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Adapter/Driver/IbmDb2/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Zend\Db\Adapter\Driver\IbmDb2;

use Zend\Db\Adapter\Driver\StatementInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Exception;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Profiler;

class Statement implements StatementInterface, Profiler\ProfilerAwareInterface
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Adapter/Driver/Sqlsrv/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Zend\Db\Adapter\Driver\Sqlsrv;

use Zend\Db\Adapter\Driver\Sqlsrv\Exception\ErrorException;
use Zend\Db\Adapter\Driver\ConnectionInterface;
use Zend\Db\Adapter\Driver\Sqlsrv\Exception\ErrorException;
use Zend\Db\Adapter\Exception;
use Zend\Db\Adapter\Profiler;

Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Adapter/Platform/Postgresql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Zend\Db\Adapter\Platform;

use Zend\Db\Adapter\Driver\DriverInterface;
use Zend\Db\Adapter\Driver\Pgsql;
use Zend\Db\Adapter\Driver\Pdo;
use Zend\Db\Adapter\Driver\Pgsql;
use Zend\Db\Adapter\Exception;

class Postgresql implements PlatformInterface
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/AbstractSql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
namespace Zend\Db\Sql;

use Zend\Db\Adapter\Driver\DriverInterface;
use Zend\Db\Adapter\StatementContainer;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\StatementContainer;

abstract class AbstractSql
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
namespace Zend\Db\Sql;

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\Platform\Sql92;
use Zend\Db\Adapter\StatementContainerInterface;

/**
*
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Insert.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
namespace Zend\Db\Sql;

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\Platform\Sql92;
use Zend\Db\Adapter\StatementContainerInterface;

class Insert extends AbstractSql implements SqlInterface, PreparableSqlInterface
{
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Db/Sql/Platform/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
namespace Zend\Db\Sql\Platform;

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Sql\Exception;
use Zend\Db\Sql\PreparableSqlInterface;
use Zend\Db\Sql\SqlInterface;
use Zend\Db\Sql\Exception;

class AbstractPlatform implements PlatformDecoratorInterface, PreparableSqlInterface, SqlInterface
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Platform/Mysql/SelectDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use Zend\Db\Adapter\Driver\DriverInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Sql\Platform\PlatformDecoratorInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Sql\Platform\PlatformDecoratorInterface;
use Zend\Db\Sql\Select;

class SelectDecorator extends Select implements PlatformDecoratorInterface
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Platform/Oracle/SelectDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\Driver\DriverInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Sql\ExpressionInterface;
use Zend\Db\Sql\Platform\PlatformDecoratorInterface;
use Zend\Db\Sql\Select;
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Platform/SqlServer/SelectDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\Driver\DriverInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Sql\Platform\PlatformDecoratorInterface;
use Zend\Db\Sql\Select;

Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Predicate/In.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Zend\Db\Sql\Predicate;

use Zend\Db\Sql\Select;
use Zend\Db\Sql\Exception;
use Zend\Db\Sql\Select;

class In implements PredicateInterface
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
namespace Zend\Db\Sql;

use Zend\Db\Adapter\AdapterInterface;
use Zend\Db\Adapter\StatementContainerInterface;
use Zend\Db\Adapter\ParameterContainer;
use Zend\Db\Adapter\Platform\PlatformInterface;
use Zend\Db\Adapter\Platform\Sql92;
use Zend\Db\Adapter\StatementContainerInterface;

/**
*
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Db/TableGateway/Feature/SequenceFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Zend\Db\TableGateway\Feature;

use Zend\Db\Sql\Insert;
use Zend\Db\Adapter\Driver\StatementInterface;
use Zend\Db\Adapter\Driver\ResultInterface;
use Zend\Db\Adapter\Driver\StatementInterface;

class SequenceFeature extends AbstractFeature
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Di/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
namespace Zend\Di;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Di\Definition\ArrayDefinition;
use Zend\Di\Definition\RuntimeDefinition;
use Zend\Stdlib\ArrayUtils;

/**
* Configures Di instances
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Dom/NodeList.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

namespace Zend\Dom;

use ArrayAccess;
use Countable;
use DOMDocument;
use DOMNodeList;
use DOMNode;
use Iterator;
use ArrayAccess;

/**
* Nodelist for DOM XPath query
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Filter/UriNormalize.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Zend\Filter\AbstractFilter;
use Zend\Filter\Exception\InvalidArgumentException;
use Zend\Uri\Exception\ExceptionInterface as UriException;
use Zend\Uri\UriFactory;
use Zend\Uri\Uri;
use Zend\Uri\Exception\ExceptionInterface as UriException;

class UriNormalize extends AbstractFilter
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Filter/Word/AbstractSeparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Zend\Filter\Word;

use Zend\Filter\Exception;
use Zend\Filter\AbstractFilter;
use Zend\Filter\Exception;

abstract class AbstractSeparator extends AbstractFilter
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/DateSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
namespace Zend\Form\Element;

use DateTime as PhpDateTime;
use Zend\Form\Exception\InvalidArgumentException;
use Zend\Form\FormInterface;
use Zend\Validator\ValidatorInterface;
use Zend\Validator\Date as DateValidator;
use Zend\Form\Exception\InvalidArgumentException;
use Exception;

class DateSelect extends MonthSelect
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Form/Element/DateTimeSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
namespace Zend\Form\Element;

use DateTime as PhpDateTime;
use Exception;
use Zend\Form\FormInterface;
use Zend\Form\Exception\InvalidArgumentException;
use Zend\Validator\ValidatorInterface;
use Zend\Validator\Date as DateValidator;
use Zend\Form\Exception\InvalidArgumentException;
use Exception;

class DateTimeSelect extends DateSelect
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

use Zend\Form\Element;
use Zend\InputFilter\InputProviderInterface;
use Zend\Validator\Regex as RegexValidator;
use Zend\Validator\Explode as ExplodeValidator;
use Zend\Validator\Regex as RegexValidator;
use Zend\Validator\ValidatorInterface;

class Email extends Element implements InputProviderInterface
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

namespace Zend\Form\Element;

use Zend\Form\FormInterface;
use Zend\Form\Element;
use Zend\Form\ElementPrepareAwareInterface;
use Zend\Form\FormInterface;
use Zend\InputFilter\InputProviderInterface;

/**
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/MonthSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use Zend\Form\ElementPrepareAwareInterface;
use Zend\Form\FormInterface;
use Zend\InputFilter\InputProviderInterface;
use Zend\Validator\ValidatorInterface;
use Zend\Validator\Regex as RegexValidator;
use Zend\Validator\ValidatorInterface;

class MonthSelect extends Element implements InputProviderInterface, ElementPrepareAwareInterface
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

namespace Zend\Form\Element;

use Zend\Form\FormInterface;
use Zend\Form\Element;
use Zend\Form\ElementPrepareAwareInterface;
use Zend\Form\FormInterface;

/**
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Fieldset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

use Traversable;
use Zend\Stdlib\Hydrator;
use Zend\Stdlib\Hydrator\HydratorAwareInterface;
use Zend\Stdlib\Hydrator\HydratorInterface;
use Zend\Stdlib\PriorityQueue;
use Zend\Stdlib\Hydrator\HydratorAwareInterface;

class Fieldset extends Element implements FieldsetInterface
{
Expand Down
Loading

0 comments on commit 226dc09

Please sign in to comment.