Skip to content

Commit

Permalink
Merge pull request #7 from ytake/patch/changed-dependencies
Browse files Browse the repository at this point in the history
changed middleware dispatcher
  • Loading branch information
ytake authored Jan 19, 2018
2 parents 39c1e4d + e899f49 commit 6c0f666
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"hack-psr/psr7-http-message-hhi": "^1.0.0",
"ytake/hh-container": "^0.5",
"ytake/hh-config-aggregator": "^0.1.1",
"ytake/heredity": "^0.1.0",
"nazg/heredity": "^0.2.0",
"facebook/hack-router": "^0.10",
"zendframework/zend-diactoros": "^1.6.1",
"monolog/monolog": "^1.23.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Nazg\Foundation;

use Facebook\HackRouter\BaseRouter;
use Ytake\Heredity\MiddlewareStack;
use Ytake\Heredity\PsrContainerResolver;
use Nazg\Http\HttpMethod;
use Nazg\Heredity\MiddlewareStack;
use Nazg\Heredity\PsrContainerResolver;
use Nazg\RequestHandler\FallbackHandler;
use Nazg\Foundation\Middleware\Dispatcher;
use Nazg\Foundation\Dependency\DependencyInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/Middleware/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Nazg\Foundation\Middleware;

use ReflectionMethod;
use Ytake\Heredity\Heredity;
use Nazg\Heredity\Heredity;
use Nazg\Foundation\Validation\Attribute;
use Nazg\Foundation\Validation\Validator;
use Nazg\Foundation\Validation\ValidatorFactory;
Expand Down
4 changes: 2 additions & 2 deletions tests/Middleware/LogExceptionMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Ytake\HHContainer\FactoryContainer;
use Psr\Log\LoggerInterface;
use Zend\Diactoros\ServerRequestFactory;
use Ytake\Heredity\MiddlewareStack;
use Ytake\Heredity\PsrContainerResolver;
use Nazg\Heredity\MiddlewareStack;
use Nazg\Heredity\PsrContainerResolver;
use Nazg\Foundation\Middleware\Dispatcher;

class LogExceptionMiddlewareTest extends TEstCase {
Expand Down
4 changes: 2 additions & 2 deletions tests/Middleware/SimpleCorsMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Ytake\HHContainer\ServiceModule;
use Ytake\HHContainer\FactoryContainer;
use Zend\Diactoros\ServerRequestFactory;
use Ytake\Heredity\MiddlewareStack;
use Ytake\Heredity\PsrContainerResolver;
use Nazg\Heredity\MiddlewareStack;
use Nazg\Heredity\PsrContainerResolver;
use Nazg\Foundation\Middleware\Dispatcher;

class SimpleCorsMiddlewareTest extends TestCase {
Expand Down

0 comments on commit 6c0f666

Please sign in to comment.