Skip to content

Commit a338e47

Browse files
authored
Update version to support php8.5 (#19)
1 parent d8c1e3b commit a338e47

6 files changed

Lines changed: 1683 additions & 1332 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up PHP
3333
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
3434
with:
35-
php-version: 8.3
35+
php-version: 8.4
3636

3737
- name: Checkout code
3838
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -94,8 +94,8 @@ jobs:
9494
fail-fast: false
9595
matrix:
9696
php-version:
97-
- 8.3
9897
- 8.4
98+
- 8.5
9999

100100
env:
101101
COMPOSER_NO_INTERACTION: 1

README.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
[![Latest Unstable Version](https://poser.pugx.org/lychee-org/nestedset/v/unstable.svg)](https://packagist.org/packages/lychee-org/nestedset)
44
[![License](https://poser.pugx.org/lychee-org/nestedset/license.svg)](https://packagist.org/packages/lychee-org/nestedset)
55

6-
This is a Laravel 4-10 package for working with trees in relational databases.
6+
This is a Laravel 4-12 package for working with trees in relational databases.
77

88
It is a fork of [lazychaser/laravel-nestedset](https://github.com/lazychaser/laravel-nestedset) and contains general patches which are required for using the library with [Lychee](https://github.com/LycheeOrg/Lychee). Note that the patches are **not** specific for Lychee, but a generally useful. Inter alia:
99

1010
* Routines respect a foreign key constraint on the parent-child-relation by taking care that changes to the tree are applied in the correct order.
1111
* The code does not fail if the model which uses `NoteTrait` does not directly extend `Model` but indirectly inherits `Model` via another parent class.
1212

13+
* **Laravel 12.0 + php8.4-8.5** is supported in v11
14+
* **Laravel 12.0** is supported in v10
1315
* **Laravel 11.0** is supported in v9
1416
* **Laravel 10.0** is supported in v8
1517
* **Laravel 9.0** is supported in v7

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^8.3",
26-
"illuminate/support": "^11.0|^12.0",
27-
"illuminate/database": "^11.0|^12.0",
28-
"illuminate/events": "^11.0|^12.0"
25+
"php": "^8.4",
26+
"illuminate/support": "^12.0",
27+
"illuminate/database": "^12.0",
28+
"illuminate/events": "^12.0"
2929
},
3030
"require-dev": {
3131
"friendsofphp/php-cs-fixer": "^3.3",
3232
"php-parallel-lint/php-parallel-lint": "^1.2",
33-
"phpunit/phpunit": "^10.5",
33+
"phpunit/phpunit": "^11.0",
3434
"lychee-org/phpstan-lychee": "^2.0.1",
3535
"larastan/larastan": "^3.2",
36-
"orchestra/testbench": "^9.0"
36+
"orchestra/testbench": "^10.0"
3737
},
3838
"autoload": {
3939
"psr-4": {
@@ -65,7 +65,7 @@
6565
"prefer-stable": true,
6666
"config": {
6767
"platform": {
68-
"php": "8.3"
68+
"php": "8.4"
6969
},
7070
"preferred-install": "dist",
7171
"sort-packages": true,

0 commit comments

Comments
 (0)