Skip to content

Commit c6a4e06

Browse files
committed
chore: 🤖 Update CI matrix and dependencies
1 parent 60eb4a9 commit c6a4e06

File tree

5 files changed

+39
-24
lines changed

5 files changed

+39
-24
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: ['8.0', 8.1, 8.2]
11+
php: [8.2, 8.3, 8.4]
1212
lib:
13-
- { laravel: ^11.0 }
14-
- { laravel: ^10.0 }
15-
- { laravel: ^9.0 }
13+
- laravel: ^13.0.x-dev
14+
- laravel: ^12.0
15+
- laravel: ^11.0
1616
exclude:
17-
- { php: 8.0, lib: { laravel: ^10.0 } }
18-
- { php: 8.0, lib: { laravel: ^11.0 } }
19-
- { php: 8.1, lib: { laravel: ^11.0 } }
17+
- php: 8.2
18+
lib:
19+
laravel: ^13.0.x-dev
2020

2121
steps:
2222
- uses: actions/checkout@v3

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build:
1818
- php-scrutinizer-run
1919

2020
environment:
21-
php: '8.1.8'
21+
php: '8.3.17'
2222

2323
dependencies:
2424
before:

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ Guarantee database stickiness over the same user's consecutive requests.
44

55
## Requirements
66

7-
- PHP: `^8.0`
8-
- Laravel: `^9.0 || ^10.0`
7+
- PHP: `^8.2`
8+
- Laravel: `^11.0 || ^12.0`
9+
10+
> [!NOTE]
11+
> Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.
912
1013
## Installing
1114

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
}
3131
},
3232
"require": {
33-
"php": "^8.0",
33+
"php": "^8.2",
3434
"ext-pdo": "*",
35-
"illuminate/container": "^9.0 || ^10.0 || ^11.0 || ^12.0",
36-
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0",
37-
"illuminate/database": "^9.0 || ^10.0 || ^11.0 || ^12.0",
38-
"illuminate/queue": "^9.0 || ^10.0 || ^11.0 || ^12.0",
39-
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0"
35+
"illuminate/container": "^11.0 || ^12.0 || ^13.0",
36+
"illuminate/contracts": "^11.0 || ^12.0 || ^13.0",
37+
"illuminate/database": "^11.0 || ^12.0 || ^13.0",
38+
"illuminate/queue": "^11.0 || ^12.0 || ^13.0",
39+
"illuminate/support": "^11.0 || ^12.0 || ^13.0"
4040
},
4141
"require-dev": {
4242
"orchestra/testbench": "*",
43-
"orchestra/testbench-core": ">=7.0",
44-
"phpunit/phpunit": ">=9.5",
45-
"mockery/mockery": "^1.3.3 || ^1.4.2"
43+
"orchestra/testbench-core": ">=9.0",
44+
"phpunit/phpunit": ">=11.0",
45+
"mockery/mockery": "^1.6.12"
4646
},
4747
"minimum-stability": "dev",
4848
"prefer-stable": true,

phpunit.xml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
processIsolation="false"
7+
stopOnFailure="false"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false">
11+
12+
<source>
413
<include>
5-
<directory suffix=".php">src</directory>
14+
<directory>./src</directory>
615
</include>
7-
</coverage>
16+
</source>
17+
18+
<coverage/>
19+
820
<testsuites>
921
<testsuite name="Package Test Suite">
10-
<directory suffix="Test.php">./tests/</directory>
22+
<directory suffix="Test.php">./tests</directory>
1123
</testsuite>
1224
</testsuites>
1325
</phpunit>

0 commit comments

Comments
 (0)