File tree 4 files changed +20
-19
lines changed
4 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 19
19
20
20
strategy :
21
21
matrix :
22
- php : [7.4 , 7.3 , 7.2 ]
22
+ php : [8.0 , 7.4 , 7.3 ]
23
23
dependency-version : [prefer-lowest, prefer-stable]
24
24
25
25
name : P${{ matrix.php }} - ${{ matrix.dependency-version }}
33
33
with :
34
34
php-version : ${{ matrix.php }}
35
35
coverage : none
36
- tools : composer
36
+ tools : composer:v2
37
37
38
38
- name : Install dependencies
39
39
run : |
Original file line number Diff line number Diff line change 21
21
}
22
22
],
23
23
"require" : {
24
- "php" : " ^7.2 |^8.0" ,
25
- "omnipay/common" : " ^3" ,
24
+ "php" : " ^7.3 |^8.0" ,
25
+ "omnipay/common" : " ^3.1 " ,
26
26
"php-http/discovery" : " ^1.12" ,
27
27
"php-http/guzzle7-adapter" : " ^0.1"
28
28
},
34
34
},
35
35
"extra" : {
36
36
"branch-alias" : {
37
- "dev-master" : " 3.1 .x-dev"
37
+ "dev-master" : " 3.2 .x-dev"
38
38
}
39
39
},
40
40
"scripts" : {
Original file line number Diff line number Diff line change 1
1
<?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"
3
4
backupStaticAttributes =" false"
4
5
bootstrap =" vendor/autoload.php"
5
6
colors =" true"
8
9
convertWarningsToExceptions =" true"
9
10
processIsolation =" false"
10
11
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 7
7
8
8
class OmnipayTest extends TestCase
9
9
{
10
- public function tearDown ()
10
+ public function tearDown (): void
11
11
{
12
12
Omnipay::setFactory (null );
13
13
You can’t perform that action at this time.
0 commit comments