Skip to content

Commit f660dd3

Browse files
Update: support laravel 11
1 parent b00fb11 commit f660dd3

File tree

4 files changed

+30
-25
lines changed

4 files changed

+30
-25
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,22 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
php: [8.3, 8.2, 8.1, 8.0]
17-
laravel: [10.*, 9.*, 8.*]
17+
laravel: [11.*, 10.*, 9.*, 8.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 11.*
21+
testbench: 9.*
2022
- laravel: 10.*
2123
testbench: 8.*
2224
- laravel: 9.*
2325
testbench: 7.*
2426
- laravel: 8.*
2527
testbench: ^6.23
2628
exclude:
29+
- laravel: 11.*
30+
php: 8.0
31+
- laravel: 11.*
32+
php: 8.1
2733
- laravel: 10.*
2834
php: 8.0
2935

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
vendor
22
composer.lock
33
.phpunit.result.cache
4-
.php-cs-fixer.cache
4+
.php-cs-fixer.cache
5+
.phpunit.cache

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"require": {
2020
"php": "^8.0",
2121
"facebook/php-business-sdk": "^15.0.1",
22-
"illuminate/http": "^8.0|^9.0|^10.0",
23-
"illuminate/support": "^8.0|^9.0|^10.0"
22+
"illuminate/http": "^8.0|^9.0|^10.0|^11.0",
23+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.3",
27-
"orchestra/testbench": "^6.0|^7.0|^8.0",
28-
"phpunit/phpunit": "^9.0"
27+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
28+
"phpunit/phpunit": "^9.0|^10.0"
2929
},
3030
"autoload": {
3131
"psr-4": {

phpunit.xml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,24 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
bootstrap="vendor/autoload.php"
55
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
colors="true" verbose="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
6+
colors="true"
117
processIsolation="false"
128
stopOnFailure="false"
13-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
10+
cacheDirectory=".phpunit.cache"
11+
backupStaticProperties="false"
1412
>
15-
<coverage>
16-
<include>
17-
<directory suffix=".php">src/</directory>
18-
</include>
19-
</coverage>
20-
<testsuites>
21-
<testsuite name="Esign Test Suite">
22-
<directory>tests</directory>
23-
</testsuite>
24-
</testsuites>
25-
<php>
26-
<env name="DB_CONNECTION" value="testing"/>
27-
</php>
13+
<testsuites>
14+
<testsuite name="Esign Test Suite">
15+
<directory>tests</directory>
16+
</testsuite>
17+
</testsuites>
18+
<php>
19+
<env name="DB_CONNECTION" value="testing"/>
20+
</php>
21+
<source>
22+
<include>
23+
<directory suffix=".php">src/</directory>
24+
</include>
25+
</source>
2826
</phpunit>

0 commit comments

Comments
 (0)