Skip to content

Commit 7d89470

Browse files
authored
Merge pull request #555 from spatie/l13-support
Add Laravel 13 and PHP 8.5 support
2 parents 6821ef7 + a442c20 commit 7d89470

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [8.1, 8.2, 8.3, 8.4]
14-
laravel: [12.*, 11.*, 10.*]
13+
php: [8.5, 8.1, 8.2, 8.3, 8.4]
14+
laravel: [13.*, 12.*, 11.*, 10.*]
1515
dependency-version: [prefer-lowest, prefer-stable]
1616
database: [mysql57, mysql8, pgsql16, pgsql17]
1717
os: [ubuntu-latest]
1818
include:
19+
- laravel: 13.*
20+
testbench: 11.*
1921
- laravel: 12.*
2022
testbench: 10.*
2123
- laravel: 11.*
@@ -29,6 +31,12 @@ jobs:
2931
laravel: 11.*
3032
- php: 8.1
3133
laravel: 12.*
34+
- php: 8.1
35+
laravel: 13.*
36+
- php: 8.2
37+
laravel: 13.*
38+
- php: 8.5
39+
laravel: 10.*
3240

3341
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.database }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3442

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"laravel/framework": "^10.0|^11.0|^12.0",
20+
"laravel/framework": "^10.0|^11.0|^12.0|^13.0",
2121
"nesbot/carbon": "^2.63|^3.0",
2222
"spatie/eloquent-sortable": "^4.0|^5.0",
2323
"spatie/laravel-package-tools": "^1.4",
2424
"spatie/laravel-translatable": "^6.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^8.0|^9.0|^10.0",
28-
"pestphp/pest": "^1.22|^2.0",
29-
"phpunit/phpunit": "^9.5.2"
27+
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
28+
"pestphp/pest": "^1.22|^2.0|^4.0",
29+
"phpunit/phpunit": "^9.5.2|^12.5.12"
3030
},
3131
"autoload": {
3232
"psr-4": {

phpunit.xml.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">src</directory>
6-
</include>
7-
</coverage>
83
<testsuites>
94
<testsuite name="Spatie Test Suite">
105
<directory>tests</directory>

0 commit comments

Comments
 (0)