Skip to content

Commit ec4b021

Browse files
authored
Supports Laravel 12 (#91)
* Supports Laravel 12 * wip
1 parent 192e6aa commit ec4b021

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: [8.1, 8.2, 8.3, 8.4]
20-
laravel: [10, 11]
20+
laravel: [10, 11, 12]
2121
include:
2222
- php: 8.2
2323
laravel: 9
@@ -30,10 +30,12 @@ jobs:
3030
- php: '8.0'
3131
laravel: 8
3232
exclude:
33-
- php: 8.4
34-
laravel: 10
3533
- php: 8.1
3634
laravel: 11
35+
- php: 8.1
36+
laravel: 12
37+
- php: 8.4
38+
laravel: 10
3739

3840
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3941

@@ -52,7 +54,7 @@ jobs:
5254

5355
- name: Install dependencies
5456
run: |
55-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support=^${{ matrix.laravel }}"
57+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support:^${{ matrix.laravel }}"
5658
5759
- name: Execute tests
5860
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"illuminate/notifications": "^8.0|^9.0|^10.0|^11.0",
15-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
14+
"illuminate/notifications": "^8.0|^9.0|^10.0|^11.0|^12.0",
15+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
1616
"vonage/client-core": "^4.0.4"
1717
},
1818
"require-dev": {
1919
"guzzlehttp/guzzle": "^7.2",
2020
"mockery/mockery": "^1.0",
21-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
21+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
2222
"phpstan/phpstan": "^1.10",
23-
"phpunit/phpunit": "^9.0|^10.4"
23+
"phpunit/phpunit": "^9.0|^10.4|^11.5"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)