Skip to content

Commit 473164f

Browse files
Laravel 11.x Compatibility (BenSampo#23)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent 4e98071 commit 473164f

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.github/workflows/tests.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: tests
22

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

57
jobs:
68
test:
79
runs-on: ${{ matrix.os }}
10+
811
strategy:
912
fail-fast: true
1013
matrix:
1114
os: [ubuntu-latest]
12-
php: ["7.4", "8.0", "8.1"]
15+
php: ['7.4', '8.0', '8.1', '8.2']
1316
dependency-version: [prefer-lowest, prefer-stable]
1417

1518
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

composer.json

+13-11
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@
1010
],
1111
"homepage": "https://github.com/bensampo/laravel-embed",
1212
"license": "MIT",
13-
"authors": [{
14-
"name": "Ben Sampson",
15-
"homepage": "https://sampo.co.uk",
16-
"role": "Developer"
17-
}],
13+
"authors": [
14+
{
15+
"name": "Ben Sampson",
16+
"homepage": "https://sampo.co.uk",
17+
"role": "Developer"
18+
}
19+
],
1820
"require": {
1921
"php": "^7.4.0|^8.0",
2022
"guzzlehttp/guzzle": "^6.3.1|^7.0",
21-
"illuminate/contracts": "^8.83.27|^9.0|^10.0",
22-
"illuminate/support": "^8.83.27|^9.0|^10.0"
23+
"illuminate/contracts": "^8.83.27|^9.0|^10.0|^11.0",
24+
"illuminate/support": "^8.83.27|^9.0|^10.0|^11.0"
2325
},
2426
"require-dev": {
25-
"laravel/framework": "^8.83.27|^9.0|^10.0",
26-
"orchestra/testbench": "^5.0|^6.0",
27-
"phpunit/phpunit": "^8.5.23|^9.0"
27+
"laravel/framework": "^8.83.27|^9.0|^10.0|^11.0",
28+
"orchestra/testbench": "^5.0|^6.0|^9.0",
29+
"phpunit/phpunit": "^8.5.23|^9.0|^10.5"
2830
},
2931
"autoload": {
3032
"psr-4": {
@@ -52,4 +54,4 @@
5254
"config": {
5355
"sort-packages": true
5456
}
55-
}
57+
}

0 commit comments

Comments
 (0)