From 0990d28c462351f48fb734240c923a8badd79490 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Sep 2025 11:18:58 +0200 Subject: re-license spec file to CECILL-2.1 more patch for test suite with PHP 8.5.0beta2 from https://github.com/TysonAndre/pecl-teds/pull/205 --- teds-php85.patch | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 teds-php85.patch (limited to 'teds-php85.patch') diff --git a/teds-php85.patch b/teds-php85.patch new file mode 100644 index 0000000..dea1e8e --- /dev/null +++ b/teds-php85.patch @@ -0,0 +1,51 @@ +From b49ba663707bfc6d84ab2ffca1dbfdb31ef2de2d Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 4 Sep 2025 11:13:02 +0200 +Subject: [PATCH] Fix Deprecated: Increment on non-numeric string is deprecated + (8.5) + +--- + tests/StrictTreeMap/rebalance_insert.phpt | 4 ++-- + tests/StrictTreeSet/rebalance_add.phpt | 6 +++--- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/tests/StrictTreeMap/rebalance_insert.phpt b/tests/StrictTreeMap/rebalance_insert.phpt +index 3b94abf..e9acb17 100644 +--- a/tests/StrictTreeMap/rebalance_insert.phpt ++++ b/tests/StrictTreeMap/rebalance_insert.phpt +@@ -3,8 +3,8 @@ Teds\StrictTreeMap rebalances + --FILE-- + debugGetTreeRepresentation(), JSON_PRETTY_PRINT), "\n"; + var_dump($it); +diff --git a/tests/StrictTreeSet/rebalance_add.phpt b/tests/StrictTreeSet/rebalance_add.phpt +index e661a6a..cf612e0 100644 +--- a/tests/StrictTreeSet/rebalance_add.phpt ++++ b/tests/StrictTreeSet/rebalance_add.phpt +@@ -3,8 +3,8 @@ Teds\StrictTreeSet rebalances + --FILE-- + add($i); ++for ($i = 0; $i < 10; $i++) { ++ $it->add('a' . chr(ord('a')+$i)); + } + echo json_encode($it->debugGetTreeRepresentation(), JSON_PRETTY_PRINT), "\n"; + var_dump($it); +@@ -82,4 +82,4 @@ object(Teds\StrictTreeSet)#1 (10) { + string(2) "ai" + [9]=> + string(2) "aj" +-} +\ No newline at end of file ++} +-- +2.51.0 + -- cgit