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

Commit

Permalink
Merge branch 'hotfix/86'
Browse files Browse the repository at this point in the history
Close #86
  • Loading branch information
weierophinney committed Jan 23, 2017
2 parents 4b6a835 + b5721cb commit 0fe261a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ details.

### Fixed

- Nothing.
- [#86](https://github.com/zendframework/zend-stratigility/pull/86) fixes the
links to documentation in several exception messages to ensure they will be
useful to developers.

## 1.3.2 - 2017-01-05

Expand Down
6 changes: 4 additions & 2 deletions src/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function getCurrentRequest()
trigger_error(sprintf(
'%s is now deprecated. The request passed to your method is the current '
. 'request now. %s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#original-request-response-and-uri '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#original-request-response-and-uri '
. 'for full details.',
__CLASS__,
\Zend\Stratigility\Middleware\OriginalMessages::class,
Expand All @@ -90,7 +91,8 @@ public function getOriginalRequest()
'%s is now deprecated. Please register %s as your outermost middleware, '
. 'and pull the original request via the request "originalRequest" '
. 'attribute. %s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#original-request-response-and-uri '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#original-request-response-and-uri '
. 'for full details.',
__CLASS__,
\Zend\Stratigility\Middleware\OriginalMessages::class,
Expand Down
12 changes: 8 additions & 4 deletions src/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ public function getOriginalResponse()
'%s is now deprecated. Please register %s as your outermost middleware, '
. 'and pull the original response via the request "originalResponse" '
. 'attribute. %s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#original-request-response-and-uri '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#original-request-response-and-uri '
. 'for full details.',
__CLASS__,
\Zend\Stratigility\Middleware\OriginalMessages::class,
Expand All @@ -80,7 +81,8 @@ public function write($data)
trigger_error(sprintf(
'%s is now deprecated; use $response->getBody()->write(). '
. '%s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#deprecated-functionality '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#deprecated-functionality '
. 'for full details.',
__CLASS__,
__METHOD__
Expand Down Expand Up @@ -111,7 +113,8 @@ public function end($data = null)
trigger_error(sprintf(
'%s is now deprecated; use $response->getBody()->write(). '
. '%s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#deprecated-functionality '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#deprecated-functionality '
. 'for full details.',
__CLASS__,
__METHOD__
Expand Down Expand Up @@ -142,7 +145,8 @@ public function isComplete()
trigger_error(sprintf(
'%s is now deprecated; use $response->getBody()->write(). '
. '%s will no longer be available starting in Stratigility 2.0.0. '
. 'Please see https://docs.zendframework.com/migration/to-v2/#deprecated-functionality '
. 'Please see '
. 'https://docs.zendframework.com/zend-stratigility/migration/to-v2/#deprecated-functionality '
. 'for full details.',
__CLASS__,
__METHOD__
Expand Down

0 comments on commit 0fe261a

Please sign in to comment.