Skip to content

Commit

Permalink
Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaël committed May 21, 2024
1 parent 6a6b469 commit 5c8c4ea
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@ jobs:
fail-fast: false
matrix:
php: [8.2, 8.1, 8.0, 7.4, 7.3]
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: 11.*
php: 7.4
- laravel: 11.*
php: 7.3
- laravel: 10.*
php: 8.0
- laravel: 10.*
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"license": "MIT",
"type": "library",
"require": {
"illuminate/database": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/console": "^8.0|^9.0|^10.0"
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"illuminate/console": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"laravel/legacy-factories": "^1.3.2",
"orchestra/testbench": "^6.23|^7.0|^8.0",
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
"squizlabs/php_codesniffer": "^2.8",
"baril/orderly": "^3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/TreeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function test_redundancy($tag)
$this->tags['A']->save();
}

public function redundancyProvider()
public static function redundancyProvider()
{
return [
'A' => ['A'],
Expand Down

0 comments on commit 5c8c4ea

Please sign in to comment.