Skip to content

Commit 8c3a26d

Browse files
Merge pull request #18 from esign/feature/laravel-12
Support Laravel 12
2 parents c95dc75 + 90e70fd commit 8c3a26d

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,21 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.4, 8.3, 8.2, 8.1, 8.0]
17-
laravel: [11.*, 10.*, 9.*, 8.*]
16+
php: [8.4, 8.3, 8.2, 8.1]
17+
laravel: [12.*, 11.*, 10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 12.*
21+
testbench: 10.*
2022
- laravel: 11.*
2123
testbench: 9.*
2224
- laravel: 10.*
2325
testbench: 8.*
24-
- laravel: 9.*
25-
testbench: 7.*
26-
- laravel: 8.*
27-
testbench: ^6.23
2826
exclude:
29-
- laravel: 11.*
30-
php: 8.0
27+
- laravel: 12.*
28+
php: 8.1
3129
- laravel: 11.*
3230
php: 8.1
33-
- laravel: 10.*
34-
php: 8.0
3531

3632
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3733

@@ -52,7 +48,7 @@ jobs:
5248
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5349
- name: Install dependencies
5450
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5652
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5753
- name: Execute tests
5854
run: vendor/bin/phpunit

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^8.0",
20+
"php": "^8.1",
2121
"facebook/php-business-sdk": "^19.0",
22-
"illuminate/http": "^8.0|^9.0|^10.0|^11.0",
23-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
22+
"illuminate/http": "^10.0|^11.0|^12.0",
23+
"illuminate/support": "^10.0|^11.0|^12.0"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.3",
27-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
28-
"phpunit/phpunit": "^9.0|^10.0"
27+
"orchestra/testbench": "^8.0|^9.0|^10.0",
28+
"phpunit/phpunit": "^10.1|^11.0"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)