Skip to content

Commit fabb42b

Browse files
authored
fix(php83): add support for php8.3 (#16)
1 parent 373d96b commit fabb42b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
15+
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
1616

1717
name: P${{ matrix.php }}
1818

@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v6
2222

2323
- name: Cache dependencies
24-
uses: actions/cache@v4
24+
uses: actions/cache@v5
2525
with:
2626
path: ~/.composer/cache/files
2727
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"email": "luckysud4@gmail.com"
2828
},
2929
"require": {
30-
"php": ">=7.1|^8.0|^8.1|^8.2",
30+
"php": ">=7.1|^8.0|^8.1|^8.2|^8.3",
3131
"guzzlehttp/guzzle": "^6.5.5|^7.0.1"
3232
},
3333
"require-dev": {

phpunit.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
3-
<coverage>
4-
<include>
5-
<directory suffix=".php">./src/</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
83
<testsuites>
94
<testsuite name="unit">
105
<directory>./tests/</directory>
116
</testsuite>
127
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">./src/</directory>
11+
</include>
12+
</source>
1313
</phpunit>

0 commit comments

Comments
 (0)