Skip to content

Commit 38a6fda

Browse files
committed
🚿
1 parent b0ab5b0 commit 38a6fda

File tree

7 files changed

+8
-12
lines changed

7 files changed

+8
-12
lines changed

src/Psr15/Middleware/MiddlewareException.php renamed to src/Psr15/MiddlewareException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
*
55
* @filesource MiddlewareException.php
66
* @created 10.03.2019
7-
* @package chillerlan\HTTP\Psr15\Middleware
7+
* @package chillerlan\HTTP\Psr15
88
* @author smiley <smiley@chillerlan.net>
99
* @copyright 2019 smiley
1010
* @license MIT
1111
*/
1212

13-
namespace chillerlan\HTTP\Psr15\Middleware;
13+
namespace chillerlan\HTTP\Psr15;
1414

1515
class MiddlewareException extends \Exception{}

src/Psr15/Middleware/PriorityMiddleware.php renamed to src/Psr15/PriorityMiddleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
*
55
* @filesource PriorityMiddleware.php
66
* @created 10.03.2019
7-
* @package chillerlan\HTTP\Psr15\Middleware
7+
* @package chillerlan\HTTP\Psr15
88
* @author smiley <smiley@chillerlan.net>
99
* @copyright 2019 smiley
1010
* @license MIT
1111
*/
1212

13-
namespace chillerlan\HTTP\Psr15\Middleware;
13+
namespace chillerlan\HTTP\Psr15;
1414

1515
use Psr\Http\Message\{ResponseInterface, ServerRequestInterface};
1616
use Psr\Http\Server\{MiddlewareInterface, RequestHandlerInterface};

src/Psr15/Middleware/PriorityMiddlewareInterface.php renamed to src/Psr15/PriorityMiddlewareInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
*
55
* @filesource PriorityMiddlewareInterface.php
66
* @created 10.03.2019
7-
* @package chillerlan\HTTP\Psr15\Middleware
7+
* @package chillerlan\HTTP\Psr15
88
* @author smiley <smiley@chillerlan.net>
99
* @copyright 2019 smiley
1010
* @license MIT
1111
*/
1212

13-
namespace chillerlan\HTTP\Psr15\Middleware;
13+
namespace chillerlan\HTTP\Psr15;
1414

1515
use Psr\Http\Server\MiddlewareInterface;
1616

src/Psr15/PriorityQueueRequestHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
namespace chillerlan\HTTP\Psr15;
1616

17-
use chillerlan\HTTP\Psr15\Middleware\{MiddlewareException, PriorityMiddleware, PriorityMiddlewareInterface};
1817
use Psr\Http\Server\MiddlewareInterface;
1918

2019
class PriorityQueueRequestHandler extends QueueRequestHandler{

src/Psr15/QueueRequestHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
namespace chillerlan\HTTP\Psr15;
1616

17-
use chillerlan\HTTP\Psr15\Middleware\MiddlewareException;
1817
use chillerlan\HTTP\Psr17\ResponseFactory;
1918
use Psr\Http\Message\{ResponseInterface, ServerRequestInterface};
2019
use Psr\Http\Server\{MiddlewareInterface, RequestHandlerInterface};

tests/Psr15/PriorityQueueRequestHandlerTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
namespace chillerlan\HTTPTest\Psr15;
1414

15-
use chillerlan\HTTP\Psr15\Middleware\{MiddlewareException, PriorityMiddleware};
16-
use chillerlan\HTTP\Psr15\PriorityQueueRequestHandler;
15+
use chillerlan\HTTP\Psr15\{MiddlewareException, PriorityMiddleware, PriorityQueueRequestHandler};
1716
use PHPUnit\Framework\TestCase;
1817
use Psr\Http\Message\{ResponseInterface, ServerRequestInterface};
1918
use Psr\Http\Server\{MiddlewareInterface, RequestHandlerInterface};

tests/Psr15/QueueRequestHandlerTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
namespace chillerlan\HTTPTest\Psr15;
1414

15-
use chillerlan\HTTP\Psr15\{EmptyResponseHandler, QueueRequestHandler};
16-
use chillerlan\HTTP\Psr15\Middleware\MiddlewareException;
15+
use chillerlan\HTTP\Psr15\{EmptyResponseHandler, MiddlewareException, QueueRequestHandler};
1716
use chillerlan\HTTP\Psr17\ResponseFactory;
1817
use PHPUnit\Framework\TestCase;
1918
use Psr\Http\Message\{ResponseInterface, ServerRequestInterface};

0 commit comments

Comments
 (0)