Skip to content

Commit

Permalink
Supports Laravel 12 (#1565)
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone authored Jan 31, 2025
1 parent 8941081 commit 3c82891
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3, 8.4]
laravel: [10, 11]
laravel: [10, 11, 12]
include:
- php: 8.2
laravel: 9
Expand All @@ -41,6 +41,8 @@ jobs:
laravel: 10
- php: 8.1
laravel: 11
- php: 8.1
laravel: 12

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

Expand All @@ -59,7 +61,7 @@ jobs:

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}"
- name: Execute tests
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"laravel/framework": "^8.37|^9.0|^10.0|^11.0",
"laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0",
"symfony/console": "^5.3|^6.0|^7.0",
"symfony/var-dumper": "^5.0|^6.0|^7.0"
},
"require-dev": {
"ext-gd": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"laravel/octane": "^1.4|^2.0|dev-develop",
"orchestra/testbench": "^6.40|^7.37|^8.17|^9.0",
"orchestra/testbench": "^6.40|^7.37|^8.17|^9.0|^10.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.0|^10.5"
"phpunit/phpunit": "^9.0|^10.5|^11.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 3c82891

Please sign in to comment.