Skip to content

Commit c5f5b5b

Browse files
authored
Merge pull request #126 from erikn69/patch-5
Laravel 11.x Support
2 parents 65163d3 + a7856b5 commit c5f5b5b

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.2, 8.1, 8.0]
13-
laravel: [10.*, 9.*, 8.*]
13+
laravel: [11.*, 10.*, 9.*, 8.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: 11.*
17+
testbench: 9.*
1618
- laravel: 10.*
1719
testbench: 8.*
1820
- laravel: 9.*
1921
testbench: 7.*
2022
- laravel: 8.*
2123
testbench: ^6.23
2224
exclude:
25+
- laravel: 11.*
26+
php: 8.1
27+
- laravel: 11.*
28+
php: 8.0
2329
- laravel: 10.*
2430
php: 8.0
2531

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/contracts": "^8.0|^9.0|^10.0",
21-
"illuminate/encryption": "^8.0|^9.0|^10.0",
22-
"illuminate/http": "^8.0|^9.0|^10.0",
23-
"illuminate/support": "^8.0|^9.0|^10.0",
24-
"illuminate/validation": "^8.0|^9.0|^10.0",
20+
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
21+
"illuminate/encryption": "^8.0|^9.0|^10.0|^11.0",
22+
"illuminate/http": "^8.0|^9.0|^10.0|^11.0",
23+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
24+
"illuminate/validation": "^8.0|^9.0|^10.0|^11.0",
2525
"nesbot/carbon": "^2.0",
2626
"spatie/laravel-package-tools": "^1.9",
27-
"symfony/http-foundation": "^5.1.2|^6.0"
27+
"symfony/http-foundation": "^5.1.2|^6.0|^7.0"
2828
},
2929
"require-dev": {
30-
"livewire/livewire": "^2.10",
31-
"orchestra/testbench": "^6.23|^7.0|^8.0",
32-
"pestphp/pest-plugin-livewire": "^1.0",
33-
"phpunit/phpunit": "^9.4",
34-
"spatie/pest-plugin-snapshots": "^1.1",
35-
"spatie/phpunit-snapshot-assertions": "^4.2",
30+
"livewire/livewire": "^2.10|^3.0",
31+
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
32+
"pestphp/pest-plugin-livewire": "^1.0|^2.1",
33+
"phpunit/phpunit": "^9.6|^10.5",
34+
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
35+
"spatie/phpunit-snapshot-assertions": "^4.2|^5.1",
3636
"spatie/test-time": "^1.2.1"
3737
},
3838
"autoload": {

tests/TestClasses/FakeEncrypter.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ public function getKey()
2121
{
2222
return 1;
2323
}
24+
25+
public function getAllKeys()
26+
{
27+
return [];
28+
}
29+
30+
public function getPreviousKeys()
31+
{
32+
return [];
33+
}
2434
}

0 commit comments

Comments
 (0)