From 4e8a6554cb526d36284f3bb25ec048498ef00620 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Thu, 20 Oct 2022 10:48:57 +0200 Subject: [PATCH] Fix failing date test INCLUDE_END_DATE has only been introduced in PHP 8.2. --- ext/date/tests/bug78055.phpt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/date/tests/bug78055.phpt b/ext/date/tests/bug78055.phpt index 0ad252793f4..743cea8ddaf 100644 --- a/ext/date/tests/bug78055.phpt +++ b/ext/date/tests/bug78055.phpt @@ -13,9 +13,6 @@ echo $period->getRecurrences(), " ", $period->recurrences, "\n"; $period = new DatePeriod($start, $interval, $recurrences); echo $period->getRecurrences(), " ", $period->recurrences, "\n"; -$period = new DatePeriod($start, $interval, $recurrences, DatePeriod::INCLUDE_END_DATE); -echo $period->getRecurrences(), " ", $period->recurrences, "\n"; - $period = new DatePeriod($start, $interval, $end); echo $period->getRecurrences(), " ", $period->recurrences, "\n"; @@ -25,6 +22,5 @@ echo $period->getRecurrences(), " ", $period->recurrences, "\n"; --EXPECT-- 5 5 5 6 -5 7 1 0