Skip to content

Commit

Permalink
Laravel 11.x Support
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 committed Feb 28, 2024
1 parent 65163d3 commit a7856b5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 13 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*, 8.*]
laravel: [11.*, 10.*, 9.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: ^6.23
exclude:
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0
- laravel: 10.*
php: 8.0

Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
],
"require": {
"php": "^8.0",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/encryption": "^8.0|^9.0|^10.0",
"illuminate/http": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/validation": "^8.0|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
"illuminate/encryption": "^8.0|^9.0|^10.0|^11.0",
"illuminate/http": "^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"illuminate/validation": "^8.0|^9.0|^10.0|^11.0",
"nesbot/carbon": "^2.0",
"spatie/laravel-package-tools": "^1.9",
"symfony/http-foundation": "^5.1.2|^6.0"
"symfony/http-foundation": "^5.1.2|^6.0|^7.0"
},
"require-dev": {
"livewire/livewire": "^2.10",
"orchestra/testbench": "^6.23|^7.0|^8.0",
"pestphp/pest-plugin-livewire": "^1.0",
"phpunit/phpunit": "^9.4",
"spatie/pest-plugin-snapshots": "^1.1",
"spatie/phpunit-snapshot-assertions": "^4.2",
"livewire/livewire": "^2.10|^3.0",
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
"pestphp/pest-plugin-livewire": "^1.0|^2.1",
"phpunit/phpunit": "^9.6|^10.5",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1",
"spatie/test-time": "^1.2.1"
},
"autoload": {
Expand Down
10 changes: 10 additions & 0 deletions tests/TestClasses/FakeEncrypter.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,14 @@ public function getKey()
{
return 1;
}

public function getAllKeys()
{
return [];
}

public function getPreviousKeys()
{
return [];
}
}

0 comments on commit a7856b5

Please sign in to comment.