Skip to content

Commit 9a1469d

Browse files
Update: support laravel 11
1 parent ffbfeb5 commit 9a1469d

File tree

4 files changed

+39
-34
lines changed

4 files changed

+39
-34
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
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.*
21-
testbench: ^8.0
23+
testbench: 8.*
2224
- laravel: 9.*
23-
testbench: ^7.0
25+
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
vendor
22
composer.lock
33
.phpunit.result.cache
4+
.phpunit.cache
45
.php-cs-fixer.cache

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
"require": {
2121
"php": "^8.0",
2222
"esign/laravel-underscore-translatable": "^1.1",
23-
"illuminate/cache": "^8.0|^9.0|^10.0",
24-
"illuminate/console": "^8.0|^9.0|^10.0",
25-
"illuminate/database": "^8.0|^9.0|^10.0",
26-
"illuminate/support": "^8.0|^9.0|^10.0",
27-
"illuminate/translation": "^8.0|^9.0|^10.0"
23+
"illuminate/cache": "^8.0|^9.0|^10.0|^11.0",
24+
"illuminate/console": "^8.0|^9.0|^10.0|^11.0",
25+
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
26+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
27+
"illuminate/translation": "^8.0|^9.0|^10.0|^11.0"
2828
},
2929
"require-dev": {
3030
"friendsofphp/php-cs-fixer": "^3.5",
31-
"orchestra/testbench": "^6.0|^7.0|^8.0",
32-
"phpunit/phpunit": "^9.5"
31+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
32+
"phpunit/phpunit": "^9.5|^10.0"
3333
},
3434
"autoload": {
3535
"psr-4": {

phpunit.xml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
bootstrap="vendor/autoload.php"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
colors="true" verbose="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
processIsolation="false"
12-
stopOnFailure="false"
13-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
bootstrap="vendor/autoload.php"
5+
backupGlobals="false"
6+
colors="true"
7+
processIsolation="false"
8+
stopOnFailure="false"
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)