From 53849c68e03ebfe35bd06d3cb709ec5253d161ec Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Mon, 2 Dec 2013 15:14:06 +0100 Subject: [PATCH] Removed unused `use` statement --- .../SoapBundle/Controller/SoapWebServiceController.php | 2 -- src/BeSimple/SoapBundle/Converter/TypeRepository.php | 4 +--- .../SoapBundle/EventListener/RequestFormatListener.php | 1 - .../ServiceBinding/RpcLiteralRequestMessageBinder.php | 2 -- .../ServiceBinding/RpcLiteralResponseMessageBinder.php | 2 -- src/BeSimple/SoapBundle/ServiceBinding/ServiceBinder.php | 1 - .../ServiceDefinition/Loader/AnnotationClassLoader.php | 3 --- .../ServiceDefinition/Loader/AnnotationFileLoader.php | 1 - src/BeSimple/SoapBundle/Soap/SoapRequest.php | 3 --- src/BeSimple/SoapBundle/WebServiceContext.php | 4 ---- src/BeSimple/SoapClient/SoapResponse.php | 3 +-- src/BeSimple/SoapClient/WsSecurityFilter.php | 6 +----- src/BeSimple/SoapClient/XmlMimeFilter.php | 7 +------ src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php | 1 - src/BeSimple/SoapCommon/SoapKernel.php | 5 +---- src/BeSimple/SoapCommon/SoapMessage.php | 4 +--- src/BeSimple/SoapCommon/WsSecurityFilterClientServer.php | 7 +------ src/BeSimple/SoapServer/WsSecurityFilter.php | 6 +----- src/BeSimple/SoapServer/XmlMimeFilter.php | 7 +------ src/BeSimple/SoapWsdl/Dumper/Dumper.php | 1 - 20 files changed, 9 insertions(+), 61 deletions(-) diff --git a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php index 9c5c046..fd52d33 100644 --- a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php +++ b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php @@ -15,8 +15,6 @@ namespace BeSimple\SoapBundle\Controller; use BeSimple\SoapBundle\Handler\ExceptionHandler; use BeSimple\SoapBundle\Soap\SoapRequest; use BeSimple\SoapBundle\Soap\SoapResponse; -use BeSimple\SoapServer\Exception as SoapException; - use Symfony\Component\DependencyInjection\ContainerAware; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/src/BeSimple/SoapBundle/Converter/TypeRepository.php b/src/BeSimple/SoapBundle/Converter/TypeRepository.php index 462dd75..1e21799 100644 --- a/src/BeSimple/SoapBundle/Converter/TypeRepository.php +++ b/src/BeSimple/SoapBundle/Converter/TypeRepository.php @@ -12,8 +12,6 @@ namespace BeSimple\SoapBundle\Converter; use BeSimple\SoapBundle\ServiceDefinition\ServiceDefinition; use BeSimple\SoapBundle\Util\Assert; -use BeSimple\SoapBundle\Util\QName; -use BeSimple\SoapBundle\Util\String; /** * @author Christian Kerl @@ -67,4 +65,4 @@ class TypeRepository $type->setXmlType($xmlType); } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapBundle/EventListener/RequestFormatListener.php b/src/BeSimple/SoapBundle/EventListener/RequestFormatListener.php index 3fbabd6..ce933ad 100644 --- a/src/BeSimple/SoapBundle/EventListener/RequestFormatListener.php +++ b/src/BeSimple/SoapBundle/EventListener/RequestFormatListener.php @@ -2,7 +2,6 @@ namespace BeSimple\SoapBundle\EventListener; -use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\Event\GetResponseEvent; class RequestFormatListener diff --git a/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralRequestMessageBinder.php b/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralRequestMessageBinder.php index f076795..bbabe6c 100644 --- a/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralRequestMessageBinder.php +++ b/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralRequestMessageBinder.php @@ -13,8 +13,6 @@ namespace BeSimple\SoapBundle\ServiceBinding; use BeSimple\SoapBundle\ServiceDefinition\Method; -use BeSimple\SoapBundle\ServiceDefinition\Strategy\MethodComplexType; -use BeSimple\SoapBundle\ServiceDefinition\Strategy\PropertyComplexType; use BeSimple\SoapCommon\Definition\Type\ArrayOfType; use BeSimple\SoapCommon\Definition\Type\ComplexType; use BeSimple\SoapCommon\Definition\Type\TypeRepository; diff --git a/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralResponseMessageBinder.php b/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralResponseMessageBinder.php index 6e600c8..7e97b11 100644 --- a/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralResponseMessageBinder.php +++ b/src/BeSimple/SoapBundle/ServiceBinding/RpcLiteralResponseMessageBinder.php @@ -13,8 +13,6 @@ namespace BeSimple\SoapBundle\ServiceBinding; use BeSimple\SoapBundle\ServiceDefinition\Method; -use BeSimple\SoapBundle\ServiceDefinition\Strategy\PropertyComplexType; -use BeSimple\SoapBundle\ServiceDefinition\Strategy\MethodComplexType; use BeSimple\SoapCommon\Definition\Type\ArrayOfType; use BeSimple\SoapCommon\Definition\Type\ComplexType; use BeSimple\SoapCommon\Definition\Type\TypeRepository; diff --git a/src/BeSimple/SoapBundle/ServiceBinding/ServiceBinder.php b/src/BeSimple/SoapBundle/ServiceBinding/ServiceBinder.php index c31f4fd..7c78ade 100644 --- a/src/BeSimple/SoapBundle/ServiceBinding/ServiceBinder.php +++ b/src/BeSimple/SoapBundle/ServiceBinding/ServiceBinder.php @@ -10,7 +10,6 @@ namespace BeSimple\SoapBundle\ServiceBinding; -use BeSimple\SoapBundle\ServiceDefinition\Header; use BeSimple\SoapBundle\ServiceDefinition\Definition; use BeSimple\SoapBundle\Soap\SoapHeader; diff --git a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php index 8770125..e37c406 100644 --- a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php +++ b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationClassLoader.php @@ -16,11 +16,8 @@ use BeSimple\SoapBundle\ServiceDefinition as Definition; use BeSimple\SoapBundle\ServiceDefinition\Annotation; use BeSimple\SoapCommon\Definition\Type\ComplexType; use BeSimple\SoapCommon\Definition\Type\TypeRepository; - use Doctrine\Common\Annotations\Reader; - use Symfony\Component\Config\Loader\Loader; -use Symfony\Component\Config\Loader\LoaderResolverInterface; /** * AnnotationClassLoader loads ServiceDefinition from a PHP class and its methods. diff --git a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationFileLoader.php b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationFileLoader.php index 8e362c3..6d90431 100644 --- a/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationFileLoader.php +++ b/src/BeSimple/SoapBundle/ServiceDefinition/Loader/AnnotationFileLoader.php @@ -16,7 +16,6 @@ use BeSimple\SoapBundle\ServiceDefinition\ServiceDefinition; use Symfony\Component\Config\FileLocator; use Symfony\Component\Config\Loader\FileLoader; -use Symfony\Component\Config\Resource\FileResource; /** * AnnotationFileLoader loads ServiceDefinition from annotations set diff --git a/src/BeSimple/SoapBundle/Soap/SoapRequest.php b/src/BeSimple/SoapBundle/Soap/SoapRequest.php index 2127670..346f692 100644 --- a/src/BeSimple/SoapBundle/Soap/SoapRequest.php +++ b/src/BeSimple/SoapBundle/Soap/SoapRequest.php @@ -11,10 +11,7 @@ namespace BeSimple\SoapBundle\Soap; use BeSimple\SoapBundle\Util\Collection; - use Symfony\Component\HttpFoundation\Request; - -use Zend\Mime\Mime; use Zend\Mime\Message; /** diff --git a/src/BeSimple/SoapBundle/WebServiceContext.php b/src/BeSimple/SoapBundle/WebServiceContext.php index 694cfc5..9e2dc86 100644 --- a/src/BeSimple/SoapBundle/WebServiceContext.php +++ b/src/BeSimple/SoapBundle/WebServiceContext.php @@ -11,14 +11,10 @@ namespace BeSimple\SoapBundle; -use BeSimple\SoapBundle\ServiceBinding\MessageBinderInterface; use BeSimple\SoapBundle\ServiceBinding\ServiceBinder; -use BeSimple\SoapBundle\ServiceDefinition\Dumper\DumperInterface; - use BeSimple\SoapCommon\Converter\TypeConverterCollection; use BeSimple\SoapWsdl\Dumper\Dumper; use BeSimple\SoapServer\SoapServerBuilder; - use Symfony\Component\Config\ConfigCache; use Symfony\Component\Config\Loader\LoaderInterface; diff --git a/src/BeSimple/SoapClient/SoapResponse.php b/src/BeSimple/SoapClient/SoapResponse.php index 24a12c3..0541f43 100644 --- a/src/BeSimple/SoapClient/SoapResponse.php +++ b/src/BeSimple/SoapClient/SoapResponse.php @@ -13,7 +13,6 @@ namespace BeSimple\SoapClient; use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; -use BeSimple\SoapCommon\SoapMessage; /** * SoapResponse class for SoapClient. Provides factory function for response object. @@ -44,4 +43,4 @@ class SoapResponse extends CommonSoapResponse return $response; } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapClient/WsSecurityFilter.php b/src/BeSimple/SoapClient/WsSecurityFilter.php index b66aae3..dc99cdf 100644 --- a/src/BeSimple/SoapClient/WsSecurityFilter.php +++ b/src/BeSimple/SoapClient/WsSecurityFilter.php @@ -14,16 +14,12 @@ namespace BeSimple\SoapClient; use ass\XmlSecurity\DSig as XmlSecurityDSig; use ass\XmlSecurity\Enc as XmlSecurityEnc; -use ass\XmlSecurity\Key as XmlSecurityKey; -use ass\XmlSecurity\Pem as XmlSecurityPem; - use BeSimple\SoapCommon\FilterHelper; use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; use BeSimple\SoapCommon\SoapRequestFilter; use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; use BeSimple\SoapCommon\SoapResponseFilter; -use BeSimple\SoapCommon\WsSecurityKey; use BeSimple\SoapCommon\WsSecurityFilterClientServer; /** @@ -274,4 +270,4 @@ class WsSecurityFilter extends WsSecurityFilterClientServer implements SoapReque $security->parentNode->removeChild($security); } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapClient/XmlMimeFilter.php b/src/BeSimple/SoapClient/XmlMimeFilter.php index 142a271..ae8ed45 100644 --- a/src/BeSimple/SoapClient/XmlMimeFilter.php +++ b/src/BeSimple/SoapClient/XmlMimeFilter.php @@ -14,13 +14,8 @@ namespace BeSimple\SoapClient; use BeSimple\SoapCommon\FilterHelper; use BeSimple\SoapCommon\Helper; -use BeSimple\SoapCommon\Mime\MultiPart as MimeMultiPart; -use BeSimple\SoapCommon\Mime\Parser as MimeParser; -use BeSimple\SoapCommon\Mime\Part as MimePart; use BeSimple\SoapCommon\SoapRequest; use BeSimple\SoapCommon\SoapRequestFilter; -use BeSimple\SoapCommon\SoapResponse; -use BeSimple\SoapCommon\SoapResponseFilter; /** * XML MIME filter that fixes the namespace of xmime:contentType attribute. @@ -72,4 +67,4 @@ class XmlMimeFilter implements SoapRequestFilter } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php b/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php index 138b973..c199e3c 100644 --- a/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php +++ b/src/BeSimple/SoapCommon/Converter/SwaTypeConverter.php @@ -12,7 +12,6 @@ namespace BeSimple\SoapCommon\Converter; -use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\Mime\Part as MimePart; use BeSimple\SoapCommon\SoapKernel; use BeSimple\SoapCommon\Converter\SoapKernelAwareInterface; diff --git a/src/BeSimple/SoapCommon/SoapKernel.php b/src/BeSimple/SoapCommon/SoapKernel.php index 05cc826..a6f621d 100644 --- a/src/BeSimple/SoapCommon/SoapKernel.php +++ b/src/BeSimple/SoapCommon/SoapKernel.php @@ -14,9 +14,6 @@ namespace BeSimple\SoapCommon; use BeSimple\SoapCommon\Mime\Part as MimePart; - -use BeSimple\SoapCommon\Converter\MtomTypeConverter; -use BeSimple\SoapCommon\Converter\SwaTypeConverter; use BeSimple\SoapCommon\SoapRequest; use BeSimple\SoapCommon\SoapResponse; use BeSimple\SoapCommon\SoapRequestFilter; @@ -129,4 +126,4 @@ class SoapKernel $filter->filterResponse($response); } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapCommon/SoapMessage.php b/src/BeSimple/SoapCommon/SoapMessage.php index 35f9bb6..6601bc1 100644 --- a/src/BeSimple/SoapCommon/SoapMessage.php +++ b/src/BeSimple/SoapCommon/SoapMessage.php @@ -13,8 +13,6 @@ namespace BeSimple\SoapCommon; -use BeSimple\SoapCommon\Mime\Part as MimePart; - /** * Base class for SoapRequest and SoapResponse. * @@ -254,4 +252,4 @@ abstract class SoapMessage { $this->version = $version; } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapCommon/WsSecurityFilterClientServer.php b/src/BeSimple/SoapCommon/WsSecurityFilterClientServer.php index 00231cc..cf89531 100644 --- a/src/BeSimple/SoapCommon/WsSecurityFilterClientServer.php +++ b/src/BeSimple/SoapCommon/WsSecurityFilterClientServer.php @@ -16,13 +16,8 @@ use ass\XmlSecurity\DSig as XmlSecurityDSig; use ass\XmlSecurity\Enc as XmlSecurityEnc; use ass\XmlSecurity\Key as XmlSecurityKey; use ass\XmlSecurity\Pem as XmlSecurityPem; - use BeSimple\SoapCommon\FilterHelper; use BeSimple\SoapCommon\Helper; -use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; -use BeSimple\SoapCommon\SoapRequestFilter; -use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; -use BeSimple\SoapCommon\SoapResponseFilter; use BeSimple\SoapCommon\WsSecurityKey; /** @@ -355,4 +350,4 @@ abstract class WsSecurityFilterClientServer return null; } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapServer/WsSecurityFilter.php b/src/BeSimple/SoapServer/WsSecurityFilter.php index 6e412b2..756a1a9 100644 --- a/src/BeSimple/SoapServer/WsSecurityFilter.php +++ b/src/BeSimple/SoapServer/WsSecurityFilter.php @@ -14,16 +14,12 @@ namespace BeSimple\SoapServer; use ass\XmlSecurity\DSig as XmlSecurityDSig; use ass\XmlSecurity\Enc as XmlSecurityEnc; -use ass\XmlSecurity\Key as XmlSecurityKey; -use ass\XmlSecurity\Pem as XmlSecurityPem; - use BeSimple\SoapCommon\FilterHelper; use BeSimple\SoapCommon\Helper; use BeSimple\SoapCommon\SoapRequest as CommonSoapRequest; use BeSimple\SoapCommon\SoapRequestFilter; use BeSimple\SoapCommon\SoapResponse as CommonSoapResponse; use BeSimple\SoapCommon\SoapResponseFilter; -use BeSimple\SoapCommon\WsSecurityKey; use BeSimple\SoapCommon\WsSecurityFilterClientServer; /** @@ -241,4 +237,4 @@ class WsSecurityFilter extends WsSecurityFilterClientServer implements SoapReque } } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapServer/XmlMimeFilter.php b/src/BeSimple/SoapServer/XmlMimeFilter.php index 7562745..5c41c4f 100644 --- a/src/BeSimple/SoapServer/XmlMimeFilter.php +++ b/src/BeSimple/SoapServer/XmlMimeFilter.php @@ -14,11 +14,6 @@ namespace BeSimple\SoapServer; use BeSimple\SoapCommon\FilterHelper; use BeSimple\SoapCommon\Helper; -use BeSimple\SoapCommon\Mime\MultiPart as MimeMultiPart; -use BeSimple\SoapCommon\Mime\Parser as MimeParser; -use BeSimple\SoapCommon\Mime\Part as MimePart; -use BeSimple\SoapCommon\SoapRequest; -use BeSimple\SoapCommon\SoapRequestFilter; use BeSimple\SoapCommon\SoapResponse; use BeSimple\SoapCommon\SoapResponseFilter; @@ -72,4 +67,4 @@ class XmlMimeFilter implements SoapResponseFilter } } -} \ No newline at end of file +} diff --git a/src/BeSimple/SoapWsdl/Dumper/Dumper.php b/src/BeSimple/SoapWsdl/Dumper/Dumper.php index f254534..bcce154 100644 --- a/src/BeSimple/SoapWsdl/Dumper/Dumper.php +++ b/src/BeSimple/SoapWsdl/Dumper/Dumper.php @@ -14,7 +14,6 @@ namespace BeSimple\SoapWsdl\Dumper; use BeSimple\SoapCommon\Definition\Definition; use BeSimple\SoapCommon\Definition\Method; -use BeSimple\SoapCommon\Definition\Part; use BeSimple\SoapCommon\Definition\Type\ArrayOfType; use BeSimple\SoapCommon\Definition\Type\ComplexType;