File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11vendor
22composer.lock
3+ .php_cs.cache
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99### Changed
1010
1111* Updated tests
12+ * Updated to ` http-interop/http-middleware#0.4 `
13+ * Updated ` friendsofphp/php-cs-fixer#2.0 `
1214
1315## 0.2.0 - 2016-11-22
1416
Original file line number Diff line number Diff line change 1818 },
1919 "require" : {
2020 "php" : " ^5.6 || ^7.0" ,
21- "http-interop/http-middleware" : " ^0.3 " ,
22- "middlewares/utils" : " ~0.7 "
21+ "http-interop/http-middleware" : " ^0.4 " ,
22+ "middlewares/utils" : " ~0.8 "
2323 },
2424 "require-dev" : {
2525 "phpunit/phpunit" : " ^5.5" ,
2626 "zendframework/zend-diactoros" : " ^1.3" ,
27- "friendsofphp/php-cs-fixer" : " ^1.12 " ,
27+ "friendsofphp/php-cs-fixer" : " ^2.0 " ,
2828 "squizlabs/php_codesniffer" : " ^2.7"
2929 },
3030 "autoload" : {
4242 " phpunit" ,
4343 " phpcs"
4444 ],
45- "cs-fix" : " php-cs-fixer fix . --fixers=-psr0 "
45+ "cs-fix" : " php-cs-fixer fix ."
4646 }
47- }
47+ }
Original file line number Diff line number Diff line change 44
55use Psr \Http \Message \ServerRequestInterface ;
66use Psr \Http \Message \ResponseInterface ;
7- use Interop \Http \Middleware \ ServerMiddlewareInterface ;
8- use Interop \Http \Middleware \DelegateInterface ;
7+ use Interop \Http \ServerMiddleware \ MiddlewareInterface ;
8+ use Interop \Http \ServerMiddleware \DelegateInterface ;
99
10- class TrailingSlash implements ServerMiddlewareInterface
10+ class TrailingSlash implements MiddlewareInterface
1111{
1212 /**
1313 * @var bool Add or remove the slash
You can’t perform that action at this time.
0 commit comments