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 ebdc5a6 commit fb38487
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 35 deletions.
18 changes: 9 additions & 9 deletions src/AutoDiscover.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

namespace Zend\Soap;

use Zend\Uri,
Zend\Soap\Wsdl,
Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy,
Zend\Server\Reflection\AbstractFunction,
Zend\Server\Reflection,
Zend\Server\Reflection\Prototype,
Zend\Server\Reflection\ReflectionParameter,
Zend\Soap\AutoDiscover\DiscoveryStrategy\ReflectionDiscovery,
Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface as DiscoveryStrategy;
use Zend\Server\Reflection;
use Zend\Server\Reflection\AbstractFunction;
use Zend\Server\Reflection\Prototype;
use Zend\Server\Reflection\ReflectionParameter;
use Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface as DiscoveryStrategy;
use Zend\Soap\AutoDiscover\DiscoveryStrategy\ReflectionDiscovery;
use Zend\Soap\Wsdl;
use Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy;
use Zend\Uri;

/**
* \Zend\Soap\AutoDiscover
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Soap\AutoDiscover\DiscoveryStrategy;

use Zend\Server\Reflection\AbstractFunction,
Zend\Server\Reflection\Prototype,
Zend\Server\Reflection\ReflectionParameter;
use Zend\Server\Reflection\AbstractFunction;
use Zend\Server\Reflection\Prototype;
use Zend\Server\Reflection\ReflectionParameter;

/**
* Describes how types, return values and method details are detected during AutoDiscovery of a WSDL.
Expand Down
6 changes: 3 additions & 3 deletions src/AutoDiscover/DiscoveryStrategy/ReflectionDiscovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Soap\AutoDiscover\DiscoveryStrategy;

use Zend\Server\Reflection\AbstractFunction,
Zend\Server\Reflection\Prototype,
Zend\Server\Reflection\ReflectionParameter;
use Zend\Server\Reflection\AbstractFunction;
use Zend\Server\Reflection\Prototype;
use Zend\Server\Reflection\ReflectionParameter;

/**
* Describes how types, return values and method details are detected during AutoDiscovery of a WSDL.
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace Zend\Soap;

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Server\Client as ServerClient;
use Zend\Stdlib\ArrayUtils;

/**
* \Zend\Soap\Client\Client
Expand Down
4 changes: 2 additions & 2 deletions src/Client/DotNet.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Soap\Client;

use Zend\Soap\Client as SOAPClient,
Zend\Soap\Exception;
use Zend\Soap\Client as SOAPClient;
use Zend\Soap\Exception;

/**
* .NET SOAP client
Expand Down
4 changes: 2 additions & 2 deletions src/Client/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace Zend\Soap\Client;

use Zend\Soap\Client as SOAPClient,
Zend\Soap\Server as SOAPServer;
use Zend\Soap\Client as SOAPClient;
use Zend\Soap\Server as SOAPServer;

/**
* \Zend\Soap\Client\Local
Expand Down
8 changes: 4 additions & 4 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

namespace Zend\Soap;

use DOMDocument;
use DOMNode;
use SimpleXMLElement;
use stdClass;
use Traversable;
use Zend\Stdlib\ArrayUtils;
use DOMDocument,
DOMNode,
SimpleXMLElement,
stdClass;

/**
* Zend_Soap_Server
Expand Down
8 changes: 4 additions & 4 deletions src/Server/DocumentLiteralWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Soap\Server;

use ReflectionClass,
ReflectionObject,
Zend\Soap\Exception\UnexpectedValueException,
Zend\Soap\Exception\BadMethodCallException;
use ReflectionClass;
use ReflectionObject;
use Zend\Soap\Exception\BadMethodCallException;
use Zend\Soap\Exception\UnexpectedValueException;

/**
* Wraps WSDL Document/Literal Style service objects to hide SOAP request
Expand Down
8 changes: 4 additions & 4 deletions src/Wsdl.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

namespace Zend\Soap;

use DOMDocument,
DOMElement,
Zend\Uri\Uri,
Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy;
use DOMDocument;
use DOMElement;
use Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy;
use Zend\Uri\Uri;

/**
* \Zend\Soap\Wsdl
Expand Down
6 changes: 3 additions & 3 deletions src/Wsdl/ComplexTypeStrategy/Composite.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Zend\Soap\Wsdl\ComplexTypeStrategy;

use Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy,
Zend\Soap\Exception,
Zend\Soap\Wsdl;
use Zend\Soap\Exception;
use Zend\Soap\Wsdl;
use Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface as ComplexTypeStrategy;

/**
* Zend_Soap_Wsdl_Strategy_Composite
Expand Down

0 comments on commit fb38487

Please sign in to comment.