-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use approved PSR-15 #13
Conversation
Build with 7.2 and nightly fails but the warnings seem not to be related to this PR. Something to do with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you rebase this to master
branch it will fix the build.
src/Handler.php
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
namespace Equip\Dispatch; | |||
|
|||
use Interop\Http\Server\RequestHandlerInterface; | |||
use Psr\Http\Server\RequestHandlerInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go after Psr\Http\Message
for alphabetical listing.
src/HandlerProxy.php
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
namespace Equip\Dispatch; | |||
|
|||
use Interop\Http\Server\RequestHandlerInterface; | |||
use Psr\Http\Server\RequestHandlerInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here and elsewhere.
tests/TestCase.php
Outdated
@@ -4,7 +4,7 @@ | |||
|
|||
use Eloquent\Phony\Mock\Handle\InstanceHandle; | |||
use Eloquent\Phony\Phpunit\Phony; | |||
use Interop\Http\Server\MiddlewareInterface; | |||
use Psr\Http\Server\MiddlewareInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, alpha ordering of use
statements.
Uh. Somehow I failed the rebase and did normal merge from master with fixed conflict. The extra commit message could be hidden with squash merging the PR if needed? |
Thanks. I'll try to get this merged in later today and tagged. |
Super. Thanks! |
Tagged as version 2.0.0 |
This PR switches to the approved version of PSR-15.