Skip to content

Commit ada4e53

Browse files
authored
Adds Laravel 12.x Support (#28)
* Adds Laravel 12.x Support * Drops Laravel 10.x Support
1 parent 11ee09f commit ada4e53

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.github/workflows/phpstan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.1'
19+
php-version: '8.2'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.4, 8.3, 8.2, 8.1]
17-
laravel: ['^11.0', '^10.0']
16+
php: [8.2, 8.3, 8.4]
17+
laravel: [11.*, 12.*]
1818
stability: [prefer-lowest, prefer-stable]
19-
exclude:
20-
- laravel: '^11.0'
21-
php: 8.1
2219
include:
23-
- laravel: '^10.0'
24-
testbench: 8.*
25-
- laravel: '^11.0'
26-
testbench: 9.*
20+
- laravel: 11.*
21+
testbench: ^9.0
22+
- laravel: 12.*
23+
testbench: ^10.0
2724

2825
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2926

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"illuminate/console": "^10.0|^11.0"
20+
"illuminate/console": "^11.0|^12.0"
2121
},
2222
"require-dev": {
2323
"laravel/pint": "^1.0",
2424
"nunomaduro/collision": "^7.0|^8.0",
25-
"nunomaduro/larastan": "^2.0.1",
26-
"orchestra/testbench": "^8.0|^9.0",
27-
"pestphp/pest": "^2.0",
28-
"pestphp/pest-plugin-laravel": "^2.0",
25+
"larastan/larastan": "^3.1",
26+
"orchestra/testbench": "^9.0|^10.0",
27+
"pestphp/pest": "^3.0",
28+
"pestphp/pest-plugin-laravel": "^3.0",
2929
"phpstan/extension-installer": "^1.1",
30-
"phpstan/phpstan-deprecation-rules": "^1.0",
31-
"phpstan/phpstan-phpunit": "^1.0"
30+
"phpstan/phpstan-deprecation-rules": "^2.0",
31+
"phpstan/phpstan-phpunit": "^2.0"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)