Skip to content

Commit 439d920

Browse files
committed
Prepare for adoption of PSR-15
1 parent 403523c commit 439d920

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
HTTP Server Handler
22
===================
33

4-
Provides the `RequestHandlerInterface` of [PSR-15][psr-15]. Please refer to the
5-
proposal for a description.
4+
Provides the `RequestHandlerInterface` of [PSR-15][psr-15].
65

7-
[psr-15]: https://github.com/php-fig/fig-standards/tree/master/proposed/http-handlers
6+
[psr-15]: https://github.com/php-fig/fig-standards/tree/master/accepted/PSR-15-http-request-handlers.md

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2-
"name": "http-interop/http-server-handler",
2+
"name": "psr/http-server-handler",
33
"description": "Common interface for HTTP server-side request handler",
44
"keywords": [
55
"psr",
66
"psr-7",
77
"psr-15",
8+
"http-interop",
89
"http",
910
"server",
1011
"handler",
@@ -22,12 +23,9 @@
2223
"php": ">=7.0",
2324
"psr/http-message": "^1.0"
2425
},
25-
"conflict": {
26-
"http-interop/http-middleware": ">=0.5"
27-
},
2826
"autoload": {
2927
"psr-4": {
30-
"Interop\\Http\\Server\\": "src/"
28+
"Psr\\Http\\Server\\": "src/"
3129
}
3230
},
3331
"extra": {

src/RequestHandlerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Http\Server;
3+
namespace Psr\Http\Server;
44

55
use Psr\Http\Message\ResponseInterface;
66
use Psr\Http\Message\ServerRequestInterface;

0 commit comments

Comments
 (0)