File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 63
63
64
64
legacyPHP :
65
65
name : PHP 7.2 Varnish 6
66
- runs-on : ubuntu-18 .04
66
+ runs-on : ubuntu-20 .04
67
67
env :
68
68
VARNISH_VERSION : ' 6.6'
69
69
VARNISH_MODULES_VERSION : ' 0.18.0'
@@ -169,7 +169,7 @@ jobs:
169
169
170
170
lowest :
171
171
name : PHP ${{ matrix.php }} Lowest, Varnish 3
172
- runs-on : ubuntu-18 .04
172
+ runs-on : ubuntu-20 .04
173
173
env :
174
174
VARNISH_VERSION : ' 3.0'
175
175
VARNISH_MODULES_VERSION : ' '
Original file line number Diff line number Diff line change 27
27
"php-http/client-implementation" : " ^1.0 || ^2.0" ,
28
28
"php-http/client-common" : " ^1.1.0 || ^2.0" ,
29
29
"php-http/message" : " ^1.0 || ^2.0" ,
30
+ "php-http/message-factory" : " ^1.0" ,
30
31
"php-http/discovery" : " ^1.12"
31
32
},
32
33
"require-dev" : {
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ class UserContextFailureTest extends VarnishTestCase
31
31
public function setUp (): void
32
32
{
33
33
// needs to be decided before doing the setup
34
- $ this ->mode = 'testHashRequestFailure ' === $ this ->getName () ? 'failure ' : 'cache ' ;
34
+ // phpunit 9 calls the method getName(), phpunit 10 name()
35
+ $ name = method_exists ($ this , 'name ' ) ? $ this ->name () : $ this ->getName (); /* @phpstan-ignore-line */
36
+ $ this ->mode = 'testHashRequestFailure ' === $ name ? 'failure ' : 'cache ' ;
35
37
36
38
parent ::setUp ();
37
39
}
You can’t perform that action at this time.
0 commit comments