Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit d92799e

Browse files
committed
:octocat: CI update
1 parent 10e5db0 commit d92799e

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

.github/workflows/ci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: "Checkout"
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: "Install PHP"
3737
uses: shivammathur/setup-php@v2
@@ -66,7 +66,7 @@ jobs:
6666

6767
steps:
6868
- name: "Checkout"
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070

7171
- name: "Install PHP with extensions"
7272
uses: shivammathur/setup-php@v2
@@ -82,7 +82,10 @@ jobs:
8282
run: php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml.dist
8383

8484
- 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
8689

8790
- name: "Send code coverage report to Codacy"
8891
uses: codacy/codacy-coverage-reporter-action@v1

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
"ext-json": "*",
3232
"ext-simplexml": "*",
3333
"ext-sodium": "*",
34-
"chillerlan/php-oauth-core": "dev-main#6766952a204d81be734de535d929d5de5f3d7efe",
34+
"chillerlan/php-oauth-core": "dev-main#35107f36e2b1bf09fd3a675c1589476b3994bcc4",
3535
"psr/http-client": "^1.0",
36-
"psr/http-message": "^1.0"
36+
"psr/http-message": "^1.1 || ^2.0"
3737
},
3838
"require-dev": {
3939
"chillerlan/php-dotenv": "^2.1.2",
4040
"guzzlehttp/guzzle": "^7.7",
4141
"monolog/monolog": "^3.3",
4242
"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"
4646
},
4747
"autoload": {
4848
"psr-4": {

phpunit.xml.dist

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
<?xml version="1.0"?>
22
<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"
44
bootstrap="vendor/autoload.php"
55
cacheResultFile=".build/phpunit.result.cache"
66
colors="true"
77
>
88
<testsuites>
99
<testsuite name="php-oauth-core test suite">
10-
<directory suffix=".php">./tests</directory>
10+
<directory>./tests</directory>
1111
<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>
2012
</testsuite>
2113
</testsuites>
2214
<source>

0 commit comments

Comments
 (0)