Skip to content

Commit b984fd1

Browse files
Laravel 11.x Compatibility (#12)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 * Update composer.json --------- Co-authored-by: Pascal Baljet <[email protected]>
1 parent c31d5e7 commit b984fd1

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/run-tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
fail-fast: true
1013
matrix:
1114
php: [8.3, 8.2, 8.1]
12-
laravel: [10.*]
15+
laravel: ['10.*', '11.*']
1316
dependency-version: [prefer-lowest, prefer-stable]
1417
include:
1518
- laravel: 10.*
1619
testbench: 8.*
20+
- laravel: 11.*
21+
testbench: 9.*
22+
exclude:
23+
- laravel: 11.*
24+
php: 8.1
1725

1826
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
1927

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
],
1818
"require": {
1919
"php": "^8.1 || ^8.2 || ^8.3",
20-
"illuminate/support": " ^10.0"
20+
"illuminate/support": " ^10.0 || ^11.0"
2121
},
2222
"require-dev": {
2323
"html2text/html2text": "^4.3",
2424
"jeremykendall/php-domain-parser": "^6.0",
2525
"laravel/ui": "^4.0",
2626
"mockery/mockery": "^1.4.4",
27-
"moneyphp/money": "^3.3",
28-
"nesbot/carbon": "^2.66",
29-
"orchestra/testbench": " ^8.0",
27+
"moneyphp/money": "^3.3 || ^4.5",
28+
"nesbot/carbon": "^2.66 || ^3.0",
29+
"orchestra/testbench": " ^8.0 || ^9.0",
3030
"phpunit/phpunit": "^10.4",
31-
"spatie/laravel-sitemap": "^6.0",
32-
"symfony/process": "^6.0"
31+
"spatie/laravel-sitemap": "^6.0 || ^7.2",
32+
"symfony/process": "^6.0 || ^7.0"
3333
},
3434
"suggest": {
3535
"html2text/html2text": "To convert HTML to formatted plain text",

0 commit comments

Comments
 (0)