This repository was archived by the owner on Mar 23, 2024. It is now read-only.
File tree 3 files changed +13
-18
lines changed
3 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 31
31
32
32
steps :
33
33
- name : " Checkout"
34
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
35
35
36
36
- name : " Install PHP"
37
37
uses : shivammathur/setup-php@v2
66
66
67
67
steps :
68
68
- name : " Checkout"
69
- uses : actions/checkout@v3
69
+ uses : actions/checkout@v4
70
70
71
71
- name : " Install PHP with extensions"
72
72
uses : shivammathur/setup-php@v2
82
82
run : php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml.dist
83
83
84
84
- name : " Send code coverage report to Codecov.io"
85
- uses : codecov/codecov-action@v3
85
+ uses : codecov/codecov-action@v4
86
+ with :
87
+ token : ${{ secrets.CODECOV_TOKEN }}
88
+ files : .build/coverage/clover.xml
86
89
87
90
- name : " Send code coverage report to Codacy"
88
91
uses : codacy/codacy-coverage-reporter-action@v1
Original file line number Diff line number Diff line change 31
31
"ext-json" : " *" ,
32
32
"ext-simplexml" : " *" ,
33
33
"ext-sodium" : " *" ,
34
- "chillerlan/php-oauth-core" : " dev-main#6766952a204d81be734de535d929d5de5f3d7efe " ,
34
+ "chillerlan/php-oauth-core" : " dev-main#35107f36e2b1bf09fd3a675c1589476b3994bcc4 " ,
35
35
"psr/http-client" : " ^1.0" ,
36
- "psr/http-message" : " ^1.0"
36
+ "psr/http-message" : " ^1.1 || ^2. 0"
37
37
},
38
38
"require-dev" : {
39
39
"chillerlan/php-dotenv" : " ^2.1.2" ,
40
40
"guzzlehttp/guzzle" : " ^7.7" ,
41
41
"monolog/monolog" : " ^3.3" ,
42
42
"phan/phan" : " ^5.4" ,
43
- "phpmd/phpmd" : " ^2.13 " ,
44
- "phpunit/phpunit" : " ^10.2 " ,
45
- "squizlabs/php_codesniffer" : " ^3.7 "
43
+ "phpmd/phpmd" : " ^2.15 " ,
44
+ "phpunit/phpunit" : " ^10.5 " ,
45
+ "squizlabs/php_codesniffer" : " ^3.9 "
46
46
},
47
47
"autoload" : {
48
48
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.2 /phpunit.xsd"
3
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5 /phpunit.xsd"
4
4
bootstrap =" vendor/autoload.php"
5
5
cacheResultFile =" .build/phpunit.result.cache"
6
6
colors =" true"
7
7
>
8
8
<testsuites >
9
9
<testsuite name =" php-oauth-core test suite" >
10
- <directory suffix = " .php " >./tests</directory >
10
+ <directory >./tests</directory >
11
11
<exclude >tests/Live</exclude >
12
- <!-- exclude abstract/helper classes -->
13
- <exclude >tests/OAuth1APITestAbstract.php</exclude >
14
- <exclude >tests/OAuth2APITestAbstract.php</exclude >
15
- <exclude >tests/OAuthAPITestAbstract.php</exclude >
16
- <exclude >tests/OAuthTestHttpClient.php</exclude >
17
- <exclude >tests/OAuthTestHttpClientFactoryInterface.php</exclude >
18
- <exclude >tests/ChillerlanHttpClientFactory.php</exclude >
19
- <exclude >tests/GuzzleHttpClientFactory.php</exclude >
20
12
</testsuite >
21
13
</testsuites >
22
14
<source >
You can’t perform that action at this time.
0 commit comments