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 6363
6464 legacyPHP :
6565 name : PHP 7.2 Varnish 6
66- runs-on : ubuntu-18 .04
66+ runs-on : ubuntu-20 .04
6767 env :
6868 VARNISH_VERSION : ' 6.6'
6969 VARNISH_MODULES_VERSION : ' 0.18.0'
@@ -169,7 +169,7 @@ jobs:
169169
170170 lowest :
171171 name : PHP ${{ matrix.php }} Lowest, Varnish 3
172- runs-on : ubuntu-18 .04
172+ runs-on : ubuntu-20 .04
173173 env :
174174 VARNISH_VERSION : ' 3.0'
175175 VARNISH_MODULES_VERSION : ' '
Original file line number Diff line number Diff line change 2727 "php-http/client-implementation" : " ^1.0 || ^2.0" ,
2828 "php-http/client-common" : " ^1.1.0 || ^2.0" ,
2929 "php-http/message" : " ^1.0 || ^2.0" ,
30+ "php-http/message-factory" : " ^1.0" ,
3031 "php-http/discovery" : " ^1.12"
3132 },
3233 "require-dev" : {
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ class UserContextFailureTest extends VarnishTestCase
3131 public function setUp (): void
3232 {
3333 // 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 ' ;
3537
3638 parent ::setUp ();
3739 }
You can’t perform that action at this time.
0 commit comments