Skip to content

Commit dc27dce

Browse files
Naorayclaude
andauthored
Add Laravel 13 support (#313)
* Add Laravel 13 support - Add ^13 to illuminate/database and illuminate/support constraints - Add orchestra/testbench ^11.0 and phpunit ^12.0 for L13 testing - Add Laravel 13 to CI matrix with PHP version excludes (L13 requires PHP 8.3+, L12 requires PHP 8.2+) - Bump actions/checkout to v4 Closes #311 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Remove phpunit ^12.0 — test suite uses docblock annotations PHPUnit 12 dropped support for @test and @group docblock annotations in favor of PHP 8 attributes. The test suite relies on these throughout, so PHPUnit 12 either skips tests entirely (33 "no tests found" warnings) or runs integration tests that should be excluded via @group. Converting to attributes is a separate effort. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c110ad commit dc27dce

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,21 @@ jobs:
1515
matrix:
1616
os: [ ubuntu-latest ]
1717
php: [ 8.4, 8.3, 8.2, 8.1 ]
18-
laravel: [ 12.*, 11.*, 10.* ]
18+
laravel: [ 13.*, 12.*, 11.*, 10.* ]
1919
dependency-version: [ prefer-stable ]
20+
exclude:
21+
- php: 8.1
22+
laravel: 13.*
23+
- php: 8.2
24+
laravel: 13.*
25+
- php: 8.1
26+
laravel: 12.*
2027

2128
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2229

2330
steps:
2431
- name: Checkout code
25-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
2633

2734
- name: Setup PHP
2835
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"ext-json": "*",
3535
"ext-intl": "*",
3636
"dompdf/dompdf": "^2.0|^3.0",
37-
"illuminate/database": "^10|^11|^12",
38-
"illuminate/support": "^10|^11|^12",
37+
"illuminate/database": "^10|^11|^12|^13",
38+
"illuminate/support": "^10|^11|^12|^13",
3939
"mollie/laravel-mollie": "^3.0",
4040
"mollie/mollie-api-php": "^2.76",
4141
"moneyphp/money": "^4.1",
@@ -44,7 +44,7 @@
4444
"require-dev": {
4545
"guzzlehttp/guzzle": "^7.0",
4646
"mockery/mockery": "^1.4",
47-
"orchestra/testbench": "^8.0|^9.0|^10.0",
47+
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
4848
"phpunit/phpunit": "^10.0|^11.5"
4949
},
5050
"autoload": {

0 commit comments

Comments
 (0)