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-27
1416
Original file line number Diff line number Diff line change 1919 },
2020 "require" : {
2121 "php" : " ^5.6 || ^7.0" ,
22- "http-interop/http-middleware" : " ^0.3 " ,
22+ "http-interop/http-middleware" : " ^0.4 " ,
2323 "willdurand/geocoder" : " ^3.3"
2424 },
2525 "require-dev" : {
2626 "phpunit/phpunit" : " ^5.5" ,
2727 "zendframework/zend-diactoros" : " ^1.3" ,
28- "friendsofphp/php-cs-fixer" : " ^1.12 " ,
28+ "friendsofphp/php-cs-fixer" : " ^2.0 " ,
2929 "squizlabs/php_codesniffer" : " ^2.7" ,
30- "middlewares/utils" : " ~0.7 "
30+ "middlewares/utils" : " ~0.8 "
3131 },
3232 "autoload" : {
3333 "psr-4" : {
4444 " phpunit" ,
4545 " phpcs"
4646 ],
47- "cs-fix" : " php-cs-fixer fix . --fixers=-psr0 "
47+ "cs-fix" : " php-cs-fixer fix ."
4848 }
49- }
49+ }
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 ;
99use Geocoder \Geocoder ;
1010use Geocoder \Provider \FreeGeoIp ;
1111use Ivory \HttpAdapter \FopenHttpAdapter ;
1212
13- class Geolocation implements ServerMiddlewareInterface
13+ class Geolocation implements MiddlewareInterface
1414{
1515 /**
1616 * @var Geocoder
You can’t perform that action at this time.
0 commit comments