Skip to content

Commit 4b0094b

Browse files
authored
Merge pull request #11 from quix-labs/laravel-12
Add support for Laravel 12.0
2 parents 5fd0ff3 + 11afd4b commit 4b0094b

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: '8.1'
21+
php-version: '8.4'
2222
coverage: none
2323

2424
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,22 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
os: [ubuntu-latest, windows-latest]
20-
php: [8.3, 8.2, 8.1]
21-
laravel: [10.*]
22-
stability: [prefer-lowest, prefer-stable]
19+
os: [ ubuntu-latest, windows-latest ]
20+
php: [ 8.1, 8.2, 8.3, 8.4 ]
21+
laravel: [ 10.*,11.*,12.* ]
22+
stability: [ prefer-lowest, prefer-stable ]
2323
include:
24+
- laravel: 12.*
25+
testbench: 10.*
26+
- laravel: 11.*
27+
testbench: 9.*
2428
- laravel: 10.*
2529
testbench: 8.*
26-
carbon: ^2.63
30+
exclude:
31+
- php: 8.1
32+
laravel: 11.*
33+
- php: 8.1
34+
laravel: 12.*
2735

2836
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2937

@@ -45,7 +53,7 @@ jobs:
4553
4654
- name: Install dependencies
4755
run: |
48-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
56+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4957
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5058
5159
- name: List Installed Dependencies

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@
2020
"php": "^8.1",
2121
"ext-fileinfo": "*",
2222
"guzzlehttp/guzzle": "^7.2",
23-
"illuminate/contracts": "^10.0|^11.0",
24-
"illuminate/filesystem": "^10.0|^11.0",
25-
"illuminate/http": "^10.0|^11.0",
26-
"illuminate/support": "^10.0|^11.0",
23+
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
24+
"illuminate/filesystem": "^10.0 || ^11.0 || ^12.0",
25+
"illuminate/http": "^10.0 || ^11.0 || ^12.0",
26+
"illuminate/support": "^10.0 || ^11.0 || ^12.0",
2727
"league/flysystem": "^3.0"
2828
},
2929
"require-dev": {
30-
"larastan/larastan": "^2.0.1",
30+
"larastan/larastan": "^2.0.1 || ^3.0",
3131
"laravel/pint": "^1.0",
32-
"nunomaduro/collision": "^7.8",
33-
"orchestra/testbench": "^8.8",
34-
"pestphp/pest": "^2.20",
35-
"pestphp/pest-plugin-arch": "^2.0",
36-
"pestphp/pest-plugin-laravel": "^2.0",
32+
"nunomaduro/collision": "^7.8 || ^8.0",
33+
"orchestra/testbench": "^8.8 || ^9.0 || ^10.0",
34+
"pestphp/pest": "^2.20 || ^3.0 ",
35+
"pestphp/pest-plugin-arch": "^2.0 || ^3.0",
36+
"pestphp/pest-plugin-laravel": "^2.0 || ^3.0",
3737
"phpstan/extension-installer": "^1.1",
38-
"phpstan/phpstan-deprecation-rules": "^1.0",
39-
"phpstan/phpstan-phpunit": "^1.0"
38+
"phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0",
39+
"phpstan/phpstan-phpunit": "^1.0 || ^2.0"
4040
},
4141
"autoload": {
4242
"psr-4": {

0 commit comments

Comments
 (0)