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 2d1d6c7 commit 80367df
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Formatter/Xml.php
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Log\Formatter;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use DOMDocument;
use DOMElement;
use Traversable;
use Zend\Stdlib\ArrayUtils;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Logger.php
Expand Up @@ -11,9 +11,9 @@
namespace Zend\Log;

use DateTime;
use Zend\Stdlib\SplPriorityQueue;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Stdlib\SplPriorityQueue;

/**
* Logging messages with a stack of backends
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/AbstractWriter.php
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Log\Writer;

use Zend\Log\Exception;
use Zend\Log\Filter;
use Zend\Log\Formatter\FormatterInterface as Formatter;
use Zend\Log\Exception;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/Db.php
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Log\Writer;

use Zend\Log\Formatter;
use Zend\Log\Exception;
use Zend\Db\Adapter\Adapter;
use Zend\Log\Exception;
use Zend\Log\Formatter;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Mail.php
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Log\Writer;

use Zend\Log\Formatter\Simple as SimpleFormatter;
use Zend\Log\Exception;
use Zend\Log\Formatter\Simple as SimpleFormatter;
use Zend\Mail\Message as MailMessage;
use Zend\Mail\Transport;
use Zend\Mail\Transport\Exception as TransportException;
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Stream.php
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Log\Writer;

use Zend\Log\Formatter\Simple as SimpleFormatter;
use Zend\Log\Exception;
use Zend\Log\Formatter\Simple as SimpleFormatter;

/**
* @category Zend
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/Syslog.php
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Log\Writer;

use Zend\Log\Logger;
use Zend\Log\Formatter;
use Zend\Log\Exception;
use Zend\Log\Formatter;
use Zend\Log\Logger;

/**
* Writes log messages to syslog
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/WriterInterface.php
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Log\Writer;

use Zend\Log\Formatter\FormatterInterface as Formatter;
use Zend\Log\Filter\FilterInterface as Filter;
use Zend\Log\Formatter\FormatterInterface as Formatter;

/**
* @category Zend
Expand Down

0 comments on commit 80367df

Please sign in to comment.