Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Updated to final PSR-15 #15

Merged
merged 4 commits into from
Feb 7, 2018
Merged

Updated to final PSR-15 #15

merged 4 commits into from
Feb 7, 2018

Conversation

geerteltink
Copy link
Member

No description provided.

@@ -1,18 +1,18 @@
<?php
/**
* @see https://github.com/zendframework/zend-expressive-authentication for the canonical source repository
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com)
* @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use range instead

use Interop\Http\Server\MiddlewareInterface;
use Interop\Http\Server\RequestHandlerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use alphabetical order.

@@ -1,16 +1,16 @@
<?php
/**
* @see https://github.com/zendframework/zend-expressive-authentication for the canonical source repository
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (https://www.zend.com)
* @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use range instead

composer.json Outdated
"psr/http-message": "^1.0.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"zendframework/zend-diactoros": "^1.7"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why new dependency to zendframework/zend-diactoros here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer.json Outdated
"psr/container": "^1.0",
"psr/http-message": "^1.0.1"
"psr/http-message": "^1.0.1",
"psr/http-server-handler": "^1.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need it, as it is required by psr/http-server-middleware

As explained by others, there is a test in place before using
Response(). If the class does not exist an exception is thrown.
@weierophinney weierophinney merged commit 8e3c6c6 into zendframework:release-1.0.0 Feb 7, 2018
weierophinney added a commit that referenced this pull request Feb 7, 2018
weierophinney added a commit that referenced this pull request Feb 7, 2018
weierophinney added a commit that referenced this pull request Feb 7, 2018
@weierophinney
Copy link
Member

Thanks, @xtreamwayz!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants