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 6394c09 commit c5a5d19
Show file tree
Hide file tree
Showing 26 changed files with 35 additions and 36 deletions.
2 changes: 1 addition & 1 deletion src/PubSubHubbub/AbstractCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace Zend\Feed\PubSubHubbub;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Http\PhpEnvironment\Response as PhpResponse;
use Zend\Stdlib\ArrayUtils;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/PubSubHubbub/Publisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace Zend\Feed\PubSubHubbub;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Http\Request as HttpRequest;
use Zend\Stdlib\ArrayUtils;
use Zend\Uri;
use Zend\Version;

Expand Down
2 changes: 1 addition & 1 deletion src/PubSubHubbub/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use DateInterval;
use DateTime;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Http\Request as HttpRequest;
use Zend\Stdlib\ArrayUtils;
use Zend\Uri;
use Zend\Version;

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

namespace Zend\Feed\Reader;

use DOMElement;
use DOMDocument;
use DOMElement;
use DOMXPath;

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Reader/Entry/AbstractEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

namespace Zend\Feed\Reader\Entry;

use Zend\Feed\Reader;
use Zend\Feed\Reader\Exception;
use DOMElement;
use DOMDocument;
use DOMElement;
use DOMXPath;
use Zend\Feed\Reader;
use Zend\Feed\Reader\Exception;

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

namespace Zend\Feed\Reader\Entry;

use Zend\Feed\Reader;
use DOMElement;
use DOMXPath;
use Zend\Feed\Reader;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Reader/Extension/AbstractEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Feed\Reader\Extension;

use Zend\Feed\Reader;
use DOMXPath;
use DOMDocument;
use DOMElement;
use DOMXPath;
use Zend\Feed\Reader;

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

namespace Zend\Feed\Reader\Extension;

use Zend\Feed\Reader;
use DOMDocument;
use DOMXPath;
use Zend\Feed\Reader;

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

namespace Zend\Feed\Reader\Extension\Podcast;

use Zend\Feed\Reader\Extension;
use DOMText;
use Zend\Feed\Reader\Extension;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Reader/Feed/AbstractFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Feed\Reader\Feed;

use DOMDocument;
use DOMXPath;
use Zend\Feed\Reader;
use Zend\Feed\Reader\Exception;
use DOMXPath;
use DOMDocument;

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

namespace Zend\Feed\Reader\Feed;

use Iterator;
use Countable;
use Iterator;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Reader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace Zend\Feed\Reader;

use DOMDocument;
use DOMXPath;
use Zend\Cache\Storage\StorageInterface as CacheStorage;
use Zend\Http;
use Zend\Loader;
use Zend\Stdlib\ErrorHandler;
use DOMDocument;
use DOMXPath;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/Atom/Renderer/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\Atom\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/Content/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\Content\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/DublinCore/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\DublinCore\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/DublinCore/Renderer/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\DublinCore\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
3 changes: 1 addition & 2 deletions src/Writer/Extension/ITunes/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
*/

namespace Zend\Feed\Writer\Extension\ITunes;
use Zend\Feed\Writer\Extension;
use Zend\Feed\Writer;

use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/ITunes/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\ITunes\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/ITunes/Renderer/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\ITunes\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/Slash/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\Slash\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/Threading/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\Threading\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Extension/WellFormedWeb/Renderer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Extension\WellFormedWeb\Renderer;

use Zend\Feed\Writer\Extension;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Extension;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Renderer/Entry/AtomDeleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use DateTime;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer\Renderer;
use Zend\Feed\Writer;
use Zend\Feed\Writer\Renderer;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/Renderer/Feed/Atom.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Feed\Writer\Renderer\Feed;

use Zend\Feed\Writer\Renderer;
use Zend\Feed\Writer;
use DOMDocument;
use Zend\Feed\Writer;
use Zend\Feed\Writer\Renderer;

/**
* @category Zend
Expand Down
6 changes: 3 additions & 3 deletions src/Writer/Renderer/Feed/AtomSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Feed\Writer\Renderer\Feed;

use Zend\Feed\Writer\Renderer;
use Zend\Feed\Writer;
use DOMElement;
use DOMDocument;
use DOMElement;
use Zend\Feed\Writer;
use Zend\Feed\Writer\Renderer;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Feed\Writer;

use Zend\Loader\ShortNameLocator;
use Zend\Loader\Exception\PluginLoaderException;
use Zend\Loader\PrefixPathLoader;
use Zend\Loader\PrefixPathMapper;
use Zend\Loader\Exception\PluginLoaderException;
use Zend\Loader\ShortNameLocator;

/**
* @category Zend
Expand Down

0 comments on commit c5a5d19

Please sign in to comment.