Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Commit

Permalink
deprecate __invoke call
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Feb 6, 2017
1 parent 83ec1e8 commit 3db4247
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

All Notable changes to `uri-manipulations` will be documented in this file


## 1.0.1 - 2017-02-6

### Added

- None

### Fixed

- None

### Deprecated `__invoke` calls on all middlewares

- None

### Removed

- None

## 1.0.0 - 2017-01-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"league/uri-schemes": "^1.0",
"guzzlehttp/psr7": "^1.2",
"friendsofphp/php-cs-fixer": "^1.9",
"phpunit/phpunit" : "^5.0"
"phpunit/phpunit" : "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 4 additions & 0 deletions src/UriMiddlewareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ trait UriMiddlewareTrait
/**
* Process and return an Uri
*
* DEPRECATION WARNING! This method will be removed in the next major point release
*
* @deprecated deprecated since version 1.0.1
*
* @param Uri|UriInterface $uri
*
* @throws Exception If the submitted URI is invalid
Expand Down

0 comments on commit 3db4247

Please sign in to comment.