Skip to content

Commit f0a0fc6

Browse files
committed
Cleanup unused dependencies and added provide information in composer.json
1 parent 11c0770 commit f0a0fc6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"phpstan/phpstan": "^0.11.8",
1414
"nyholm/psr7": "^1.1"
1515
},
16+
"provide": {
17+
"psr/http-server-handler-implementation": "1.0",
18+
"psr/http-server-middleware-implementation": "1.0"
19+
},
1620
"license": "MIT",
1721
"authors": [
1822
{

tests/Collection/SplQueueMiddlewareCollectionTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626

2727
namespace NoGlitchYo\MiddlewareCollectionRequestHandler\Tests\Collection;
2828

29-
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\ArrayStackMiddlewareCollection;
29+
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\SplQueueMiddlewareCollection;
3030
use NoGlitchYo\MiddlewareCollectionRequestHandler\Exception\EmptyMiddlewareCollectionException;
3131
use NoGlitchYo\MiddlewareCollectionRequestHandler\Tests\GetMiddlewareTrait;
32-
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\SplQueueMiddlewareCollection;
3332
use Nyholm\Psr7\Response;
3433
use Nyholm\Psr7\ServerRequest;
3534
use PHPUnit\Framework\TestCase;

tests/Collection/SplStackMiddlewareCollectionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
namespace NoGlitchYo\MiddlewareCollectionRequestHandler\Tests\Collection;
2828

29-
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\ArrayStackMiddlewareCollection;
30-
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\SplQueueMiddlewareCollection;
3129
use NoGlitchYo\MiddlewareCollectionRequestHandler\Collection\SplStackMiddlewareCollection;
3230
use NoGlitchYo\MiddlewareCollectionRequestHandler\Exception\EmptyMiddlewareCollectionException;
3331
use NoGlitchYo\MiddlewareCollectionRequestHandler\Tests\GetMiddlewareTrait;

0 commit comments

Comments
 (0)