Skip to content

Commit 9e14c4b

Browse files
authored
Laravel 12 (#24)
* Laravel 12 * Fix styling * Update run-tests.yml * Update testbench for L12 * Update phpunit * Update pest * Update larastan * Update phpstan-phpunit --------- Co-authored-by: oddvalue <[email protected]>
1 parent 39a5041 commit 9e14c4b

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.3, 8.2]
13-
laravel: [11.*, 10.*]
13+
laravel: [12.*,11.*, 10.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: 12.*
17+
testbench: 10.*
18+
collision: 8.*
1619
- laravel: 11.*
1720
testbench: 9.*
1821
collision: 8.*

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/contracts": "^10.0|^11.0",
20+
"illuminate/contracts": "^10.0|^11.0|^12.0",
2121
"spatie/eloquent-sortable": "^4.0",
2222
"spatie/laravel-package-tools": "^1.16.4"
2323
},
2424
"require-dev": {
2525
"laravel/pint": "^1.0",
2626
"nunomaduro/collision": "^7.0|^8.0",
27-
"nunomaduro/larastan": "^2.0.1",
28-
"orchestra/testbench": "^8.0|^9.0",
29-
"pestphp/pest": "^2.0",
30-
"pestphp/pest-plugin-laravel": "^2.0",
27+
"nunomaduro/larastan": "^2.0.1|^3.0",
28+
"orchestra/testbench": "^8.0|^9.0|^10.0",
29+
"pestphp/pest": "^2.0|^3.0",
30+
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
3131
"phpstan/extension-installer": "^1.1",
32-
"phpstan/phpstan-deprecation-rules": "^1.0",
33-
"phpstan/phpstan-phpunit": "^1.0",
34-
"phpunit/phpunit": "^10.0",
35-
"spatie/laravel-ray": "^1.26"
32+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
33+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
34+
"phpunit/phpunit": "^10.0|^11.0",
35+
"spatie/laravel-ray": "^1.26|^2.0"
3636
},
3737
"autoload": {
3838
"psr-4": {

src/Sortable.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
namespace Oddvalue\EloquentSortable;
44

5-
interface Sortable extends \Spatie\EloquentSortable\Sortable
6-
{
7-
}
5+
interface Sortable extends \Spatie\EloquentSortable\Sortable {}

0 commit comments

Comments
 (0)