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

Commit

Permalink
[zen-49] Correct import statements across framework
Browse files Browse the repository at this point in the history
- Ran a script that would create multiple import statements out of multi-line
  import statements, and which would sort all import statements in alphabetic
  order. Script is at https://gist.github.com/3079222 and was run by dropping
  into the library/Zend folder and typing (in zsh)
  "for file in **/*.php;do php /path/to/replace-uses.php $file; done"
  • Loading branch information
weierophinney committed Jul 9, 2012
1 parent d66378f commit c0dcd12
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Csrf.php
Expand Up @@ -11,8 +11,8 @@
namespace Zend\Validator;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Session\Container as SessionContainer;
use Zend\Stdlib\ArrayUtils;

class Csrf extends AbstractValidator
{
Expand Down
2 changes: 1 addition & 1 deletion src/Date.php
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Validator;

use Traversable;
use DateTime;
use Traversable;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions src/DateStep.php
Expand Up @@ -10,11 +10,11 @@

namespace Zend\Validator;

use Traversable;
use DateTime;
use DateTimeZone;
use DateInterval;
use DatePeriod;
use DateTime;
use DateTimeZone;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Validator\Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Db/AbstractDb.php
Expand Up @@ -11,10 +11,10 @@
namespace Zend\Validator\Db;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Db\Adapter\Adapter as DbAdapter;
use Zend\Db\Adapter\Driver\DriverInterface as DbDriverInterface;
use Zend\Db\Sql\Select as DbSelect;
use Zend\Stdlib\ArrayUtils;
use Zend\Validator\AbstractValidator;
use Zend\Validator\Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Uri.php
Expand Up @@ -11,8 +11,8 @@
namespace Zend\Validator;

use Traversable;
use Zend\Uri\Uri as UriHandler;
use Zend\Uri\Exception\ExceptionInterface as UriException;
use Zend\Uri\Uri as UriHandler;

/**
* @category Zend
Expand Down

0 comments on commit c0dcd12

Please sign in to comment.