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 0fb140c commit 78d16a9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/ClassFileLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
namespace Zend\File;

// import SPL classes/interfaces into local scope
use DirectoryIterator,
FilterIterator,
RecursiveIterator,
RecursiveDirectoryIterator,
RecursiveIteratorIterator;
use DirectoryIterator;
use FilterIterator;
use RecursiveDirectoryIterator;
use RecursiveIterator;
use RecursiveIteratorIterator;

/**
* Locate files containing PHP classes, interfaces, abstracts or traits
Expand Down
14 changes: 7 additions & 7 deletions src/Transfer/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

namespace Zend\File\Transfer\Adapter;

use Zend\File\Transfer,
Zend\File\Transfer\Exception,
Zend\Filter,
Zend\Filter\Exception as FilterException,
Zend\Loader,
Zend\I18n\Translator\Translator,
Zend\Validator;
use Zend\File\Transfer;
use Zend\File\Transfer\Exception;
use Zend\Filter;
use Zend\Filter\Exception as FilterException;
use Zend\I18n\Translator\Translator;
use Zend\Loader;
use Zend\Validator;

/**
* Abstract class for file transfers (Downloads and Uploads)
Expand Down
8 changes: 4 additions & 4 deletions src/Transfer/Adapter/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\File\Transfer\Adapter;

use Zend\File\Transfer,
Zend\File\Transfer\Exception,
Zend\ProgressBar,
Zend\ProgressBar\Adapter;
use Zend\File\Transfer;
use Zend\File\Transfer\Exception;
use Zend\ProgressBar;
use Zend\ProgressBar\Adapter;

/**
* File transfer adapter class for the HTTP protocol
Expand Down

0 comments on commit 78d16a9

Please sign in to comment.