File tree Expand file tree Collapse file tree 4 files changed +20
-19
lines changed Expand file tree Collapse file tree 4 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 1919
2020 strategy :
2121 matrix :
22- php : [7.4 , 7.3 , 7.2 ]
22+ php : [8.0 , 7.4 , 7.3 ]
2323 dependency-version : [prefer-lowest, prefer-stable]
2424
2525 name : P${{ matrix.php }} - ${{ matrix.dependency-version }}
3333 with :
3434 php-version : ${{ matrix.php }}
3535 coverage : none
36- tools : composer
36+ tools : composer:v2
3737
3838 - name : Install dependencies
3939 run : |
Original file line number Diff line number Diff line change 2121 }
2222 ],
2323 "require" : {
24- "php" : " ^7.2 |^8.0" ,
25- "omnipay/common" : " ^3" ,
24+ "php" : " ^7.3 |^8.0" ,
25+ "omnipay/common" : " ^3.1 " ,
2626 "php-http/discovery" : " ^1.12" ,
2727 "php-http/guzzle7-adapter" : " ^0.1"
2828 },
3434 },
3535 "extra" : {
3636 "branch-alias" : {
37- "dev-master" : " 3.1 .x-dev"
37+ "dev-master" : " 3.2 .x-dev"
3838 }
3939 },
4040 "scripts" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit backupGlobals =" false"
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ backupGlobals =" false"
34 backupStaticAttributes =" false"
45 bootstrap =" vendor/autoload.php"
56 colors =" true"
89 convertWarningsToExceptions =" true"
910 processIsolation =" false"
1011 stopOnFailure =" false"
11- syntaxCheck = " false " >
12- < testsuites >
13- < testsuite name = " Omnipay Test Suite " >
14- <directory >./tests/ </directory >
15- </ testsuite >
16- </ testsuites >
17- < filter >
18- < whitelist >
19- <directory >./src </directory >
20- </ whitelist >
21- </ filter >
22- </phpunit >
12+ xsi : noNamespaceSchemaLocation = " https://schema.phpunit.de/9.3/phpunit.xsd " >
13+ < coverage >
14+ < include >
15+ <directory >./src </directory >
16+ </ include >
17+ </ coverage >
18+ < testsuites >
19+ < testsuite name = " Omnipay Test Suite " >
20+ <directory >./tests/ </directory >
21+ </ testsuite >
22+ </ testsuites >
23+ </phpunit >
Original file line number Diff line number Diff line change 77
88class OmnipayTest extends TestCase
99{
10- public function tearDown ()
10+ public function tearDown (): void
1111 {
1212 Omnipay::setFactory (null );
1313
You can’t perform that action at this time.
0 commit comments