Skip to content
This repository has been archived by the owner on Jan 30, 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 b9da3d9 commit 4fefb53
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Filter/NumberFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\I18n\Filter;

use Zend\I18n\Exception;
use NumberFormatter;
use Traversable;
use Zend\I18n\Exception;

class NumberFormat extends AbstractLocale
{
Expand Down
2 changes: 1 addition & 1 deletion src/Translator/Loader/Gettext.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace Zend\I18n\Translator\Loader;

use Zend\I18n\Exception;
use Zend\I18n\Translator\TextDomain;
use Zend\I18n\Translator\Plural\Rule as PluralRule;
use Zend\I18n\Translator\TextDomain;

/**
* Gettext loader.
Expand Down
2 changes: 1 addition & 1 deletion src/Translator/Loader/PhpArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace Zend\I18n\Translator\Loader;

use Zend\I18n\Exception;
use Zend\I18n\Translator\TextDomain;
use Zend\I18n\Translator\Plural\Rule as PluralRule;
use Zend\I18n\Translator\TextDomain;

/**
* PHP array loader.
Expand Down
2 changes: 1 addition & 1 deletion src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

use Locale;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Cache;
use Zend\Cache\Storage\StorageInterface as CacheStorage;
use Zend\I18n\Exception;
use Zend\Stdlib\ArrayUtils;

/**
* Translator.
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Alnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\I18n\Validator;

use Zend\Validator\AbstractValidator;
use Zend\I18n\Filter\Alnum as AlnumFilter;
use Zend\Validator\AbstractValidator;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Alpha.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\I18n\Validator;

use Zend\Validator\AbstractValidator;
use Zend\I18n\Filter\Alpha as AlphaFilter;
use Zend\Validator\AbstractValidator;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Iban.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\I18n\Validator;

use Traversable;
use Locale;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Validator\AbstractValidator;
use Zend\Validator\Exception;
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/PostCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\I18n\Validator;

use Traversable;
use Locale;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Validator\AbstractValidator;
use Zend\Validator\Callback;
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use DateTime;
use IntlDateFormatter;
use Locale;
use Zend\View\Helper\AbstractHelper;
use Zend\I18n\Exception;
use Zend\View\Helper\AbstractHelper;

/**
* View helper for formatting dates.
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\I18n\View\Helper;

use Zend\View\Helper\AbstractHelper;
use Zend\I18n\Exception;
use Zend\I18n\Translator\Translator;
use Zend\View\Helper\AbstractHelper;

/**
* View helper for translating messages.
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/TranslatePlural.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\I18n\View\Helper;

use Zend\View\Helper\AbstractHelper;
use Zend\I18n\Exception;
use Zend\I18n\Translator\Translator;
use Zend\View\Helper\AbstractHelper;

/**
* View helper for translating plural messages.
Expand Down

0 comments on commit 4fefb53

Please sign in to comment.