Skip to content

Commit 08be8f1

Browse files
Laravel 11.x Compatibility (#40)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent 31775b5 commit 08be8f1

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"require": {
2020
"php": "^8.1 || ^8.2 || ^8.3",
2121
"ext-openssl": "*",
22-
"egulias/email-validator": "^3.1",
22+
"egulias/email-validator": "^3.1 || ^4.0",
2323
"guzzlehttp/guzzle": "^7.2",
24-
"illuminate/support": "^10.0",
25-
"illuminate/validation": "^10.0"
24+
"illuminate/support": "^10.0 || ^11.0",
25+
"illuminate/validation": "^10.0 || ^11.0"
2626
},
2727
"require-dev": {
28-
"orchestra/testbench": "^8.0",
28+
"orchestra/testbench": "^8.0 || ^9.0",
2929
"phpunit/phpunit": "^10.4"
3030
},
3131
"autoload": {
@@ -57,4 +57,4 @@
5757
}
5858
}
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)