updated tests to fix deprecations

also fixed cs errors in middleware-pipeline
This commit is contained in:
Bruce Weirdan
2018-03-21 02:05:55 +02:00
parent d3b5cd5c57
commit f7e63710e4
4 changed files with 21 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ namespace Shlinkio\Shlink\Common\Factory;
use Interop\Container\ContainerInterface;
use Interop\Container\Exception\ContainerException;
use Zend\Diactoros\Response\EmptyResponse;
use Zend\Expressive\Middleware\ImplicitOptionsMiddleware;
use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware;
use Zend\ServiceManager\Exception\ServiceNotCreatedException;
use Zend\ServiceManager\Exception\ServiceNotFoundException;
use Zend\ServiceManager\Factory\FactoryInterface;