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 26
26
"php-http/promise" : " ^1.0" ,
27
27
"psr/http-message-implementation" : " ^1.0" ,
28
28
"psr/log" : " ^1.0|^2.0|^3.0" ,
29
- "psr/simple-cache" : " ^1.0"
29
+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 "
30
30
},
31
31
"require-dev" : {
32
32
"cache/array-adapter" : " ^1.0" ,
Original file line number Diff line number Diff line change 17
17
"php" : " ^7.3 || ^8.0" ,
18
18
"php-http/promise" : " ^1.0" ,
19
19
"psr/log" : " ^1.0|^2.0|^3.0" ,
20
- "psr/simple-cache" : " ^1.0" ,
20
+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 " ,
21
21
"willdurand/geocoder" : " ^4.0"
22
22
},
23
23
"require-dev" : {
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function testGeocodeMiss()
83
83
$ this ->cacheMock ->expects ($ this ->once ())
84
84
->method ('set ' )
85
85
->with ($ this ->anything (), $ result , $ ttl )
86
- ->willReturn (null );
86
+ ->willReturn (true );
87
87
88
88
$ this ->providerMock ->expects ($ this ->once ())
89
89
->method ('geocodeQuery ' )
@@ -127,7 +127,7 @@ public function testReverseMiss()
127
127
$ this ->cacheMock ->expects ($ this ->once ())
128
128
->method ('set ' )
129
129
->with ($ this ->anything (), $ result , $ ttl )
130
- ->willReturn (null );
130
+ ->willReturn (true );
131
131
132
132
$ this ->providerMock ->expects ($ this ->once ())
133
133
->method ('reverseQuery ' )
Original file line number Diff line number Diff line change 13
13
],
14
14
"require" : {
15
15
"php" : " ^7.3 || ^8.0" ,
16
- "psr/simple-cache" : " ^1.0" ,
16
+ "psr/simple-cache" : " ^1.0|^2.0|^3.0 " ,
17
17
"willdurand/geocoder" : " ^4.0.0"
18
18
},
19
19
"provide" : {
41
41
"test" : " vendor/bin/phpunit" ,
42
42
"test-ci" : " vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
43
43
}
44
- }
44
+ }
You can’t perform that action at this time.
0 commit comments