Skip to content

Commit a03fea3

Browse files
Laravel 12.x Compatibility (#33)
1 parent 5764a0e commit a03fea3

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
php: [7.3, 7.4, 8.0, 8.1, 8.2]
17-
laravel: [6.0, 7.0, 8.0, 9.0, 10.0, '11.0']
17+
laravel: [6.0, 7.0, 8.0, 9.0, 10.0, '11.0', '12.0']
1818
exclude:
1919
- php: 7.3
2020
laravel: 9.0
@@ -40,6 +40,14 @@ jobs:
4040
php: 8.0
4141
- laravel: '11.0'
4242
php: 8.1
43+
- laravel: '12.0'
44+
php: 7.3
45+
- laravel: '12.0'
46+
php: 7.4
47+
- laravel: '12.0'
48+
php: 8.0
49+
- laravel: '12.0'
50+
php: 8.1
4351

4452
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
4553

@@ -56,7 +64,7 @@ jobs:
5664
coverage: none
5765

5866
- name: Remove Laravel Pint
59-
if: matrix.php == '7.3' || matrix.php == '7.4' || matrix.php == '8.0'
67+
if: "matrix.php == '7.3' || matrix.php == '7.4' || matrix.php == '8.0'"
6068
run: composer remove --dev laravel/pint --no-update
6169

6270
- name: Install dependencies

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
],
2323
"require": {
2424
"php": "^7.3|^8.0",
25-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
25+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
2626
"joelbutcher/facebook-graph-sdk": "^6.1.2"
2727
},
2828
"require-dev": {
2929
"laravel/pint": "^1.20",
3030
"mockery/mockery": "^1.4.2",
31-
"orchestra/testbench": "^6.0|^7.0|^9.0",
32-
"pestphp/pest": "^1.21|^2.34",
33-
"phpunit/phpunit": "^9.4|^10.5"
31+
"orchestra/testbench": "^6.0|^7.0|^9.0|^10.0",
32+
"pestphp/pest": "^1.21|^2.34|^3.7",
33+
"phpunit/phpunit": "^9.4|^10.5|^11.5.3"
3434
},
3535
"autoload": {
3636
"psr-4": {

0 commit comments

Comments
 (0)