Skip to content

Commit

Permalink
Supports Laravel 12
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 24, 2025
1 parent c55c36a commit f2f84ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: true
matrix:
php: [8.2, 8.3, 8.4]
laravel: [10, 11]
laravel: [10, 11, 12]
exclude:
- laravel: 10
php: 8.4
Expand All @@ -51,8 +51,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
- name: Execute tests
run: vendor/bin/pest
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"php": "^8.2",
"clue/redis-react": "^2.6",
"guzzlehttp/psr7": "^2.6",
"illuminate/console": "^10.47|^11.0",
"illuminate/contracts": "^10.47|^11.0",
"illuminate/http": "^10.47|^11.0",
"illuminate/support": "^10.47|^11.0",
"illuminate/console": "^10.47|^11.0|^12.0",
"illuminate/contracts": "^10.47|^11.0|^12.0",
"illuminate/http": "^10.47|^11.0|^12.0",
"illuminate/support": "^10.47|^11.0|^12.0",
"laravel/prompts": "^0.1.15|^0.2.0|^0.3.0",
"pusher/pusher-php-server": "^7.2",
"ratchet/rfc6455": "^0.3.1",
Expand All @@ -35,7 +35,7 @@
"symfony/http-foundation": "^6.3|^7.0"
},
"require-dev": {
"orchestra/testbench": "^8.0|^9.0",
"orchestra/testbench": "^8.0|^9.0|^10.0",
"pestphp/pest": "^2.0",
"phpstan/phpstan": "^1.10",
"ratchet/pawl": "^0.4.1",
Expand Down

0 comments on commit f2f84ba

Please sign in to comment.