File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2626 "php-http/promise" : " ^1.0" ,
2727 "psr/http-message-implementation" : " ^1.0" ,
2828 "psr/log" : " ^1.0|^2.0|^3.0" ,
29- "psr/simple-cache" : " ^1.0"
29+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 "
3030 },
3131 "require-dev" : {
3232 "cache/array-adapter" : " ^1.0" ,
Original file line number Diff line number Diff line change 1717 "php" : " ^7.3 || ^8.0" ,
1818 "php-http/promise" : " ^1.0" ,
1919 "psr/log" : " ^1.0|^2.0|^3.0" ,
20- "psr/simple-cache" : " ^1.0" ,
20+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 " ,
2121 "willdurand/geocoder" : " ^4.0"
2222 },
2323 "require-dev" : {
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function testGeocodeMiss()
8383 $ this ->cacheMock ->expects ($ this ->once ())
8484 ->method ('set ' )
8585 ->with ($ this ->anything (), $ result , $ ttl )
86- ->willReturn (null );
86+ ->willReturn (true );
8787
8888 $ this ->providerMock ->expects ($ this ->once ())
8989 ->method ('geocodeQuery ' )
@@ -127,7 +127,7 @@ public function testReverseMiss()
127127 $ this ->cacheMock ->expects ($ this ->once ())
128128 ->method ('set ' )
129129 ->with ($ this ->anything (), $ result , $ ttl )
130- ->willReturn (null );
130+ ->willReturn (true );
131131
132132 $ this ->providerMock ->expects ($ this ->once ())
133133 ->method ('reverseQuery ' )
Original file line number Diff line number Diff line change 1313 ],
1414 "require" : {
1515 "php" : " ^7.3 || ^8.0" ,
16- "psr/simple-cache" : " ^1.0" ,
16+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 " ,
1717 "willdurand/geocoder" : " ^4.0.0"
1818 },
1919 "provide" : {
4141 "test" : " vendor/bin/phpunit" ,
4242 "test-ci" : " vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
4343 }
44- }
44+ }
You can’t perform that action at this time.
0 commit comments