Your message dated Tue, 30 Sep 2025 07:34:26 +0000
with message-id <[email protected]>
and subject line Bug#1099659: fixed in davical 1.1.12-2.2
has caused the Debian Bug report #1099659,
regarding davical: PHPUnit 12 compatibility
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1099659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099659
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: davical
Version: 1.1.12-2.1
Severity: important
Tags: patch
Control: block 1099656 by -1
X-Debbugs-Cc: Debian PHP PEAR Maintainers <[email protected]>
Hi,
Please consider applying the attached patch in order to allow
PHPUnit 12, currently in experimental, to be uploaded to unstable before
the freeze. The syntax change is already compatible with PHPUnit 11
currently in unstable and testing.
Thanks in advance.
Regards,
taffit
From 33deacae4dfd31a111e338f3ee95317a41f8e231 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Pr=C3=A9vot?= <[email protected]>
Date: Thu, 6 Mar 2025 13:19:06 +0100
Subject: [PATCH] Modernize PHPUnit syntax
---
testing/phpunit/ExpansionTest.php | 26 ++++++++++----------------
testing/phpunit/RangeTest.php | 26 ++++++++++----------------
2 files changed, 20 insertions(+), 32 deletions(-)
diff --git a/testing/phpunit/ExpansionTest.php b/testing/phpunit/ExpansionTest.php
index 7e5bf842..a6ab0b02 100644
--- a/testing/phpunit/ExpansionTest.php
+++ b/testing/phpunit/ExpansionTest.php
@@ -5,6 +5,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '/usr/share/awl/inc' . PA
require_once('RRule.php');
require_once('vCalendar.php');
+use PHPUnit\Framework\Attributes\PreserveGlobalState;
+use PHPUnit\Framework\Attributes\RunInSeparateProcess;
use PHPUnit\Framework\TestCase;
$c = (object) array();
@@ -143,10 +145,8 @@ final class ExpansionTest extends TestCase
'20190124T000000Z/20190124T010000Z',
];
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testUnmodifiedCal() {
global $base_cal;
@@ -156,10 +156,8 @@ final class ExpansionTest extends TestCase
);
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testTueRenamed() {
global $tuesday_renamed_cal;
@@ -169,10 +167,8 @@ final class ExpansionTest extends TestCase
);
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testTueRenamedSwapped() {
global $tuesday_renamed_cal_order_swapped;
@@ -182,10 +178,8 @@ final class ExpansionTest extends TestCase
);
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testCalWithCount() {
global $count_cal;
diff --git a/testing/phpunit/RangeTest.php b/testing/phpunit/RangeTest.php
index 7c68d7a8..99acb1a2 100644
--- a/testing/phpunit/RangeTest.php
+++ b/testing/phpunit/RangeTest.php
@@ -5,6 +5,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '/usr/share/awl/inc' . PA
require_once('RRule.php');
require_once('vCalendar.php');
+use PHPUnit\Framework\Attributes\PreserveGlobalState;
+use PHPUnit\Framework\Attributes\RunInSeparateProcess;
use PHPUnit\Framework\TestCase;
$c = (object) array();
@@ -12,10 +14,8 @@ $c->rrule_loop_limit = 100;
final class RangeTest extends TestCase
{
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testGetVCalendarRange() {
$cal = new vCalendar("BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
@@ -52,10 +52,8 @@ END:VCALENDAR");
self::assertEquals("20190102T072000Z", (string) $range->until->UTC());
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testGetVCalendarRangeTwoDayAllDay() {
$cal = new vCalendar("BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
@@ -78,10 +76,8 @@ END:VCALENDAR");
self::assertEquals("20190109T200000Z", (string) $range->until->UTC());
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testGetVCalendarRangeFloating() {
// When interpreted as being in Greece, this event crosses the daylight savings boundary!
// TODO deal with how that affects all-day events...
@@ -106,10 +102,8 @@ END:VCALENDAR");
self::assertEquals("20181210T130000Z", (string) $range->until->UTC());
}
- /**
- * @runInSeparateProcess
- * @preserveGlobalState enabled
- */
+ #[PreserveGlobalState('enabled')]
+ #[RunInSeparateProcess]
public function testGetVCalendarRangeAllDayAcrossDST() {
// When interpreted as being in Greece, this event crosses the daylight savings boundary!
--
2.47.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: davical
Source-Version: 1.1.12-2.2
Done: David Prévot <[email protected]>
We believe that the bug you reported is fixed in the latest version of
davical, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Prévot <[email protected]> (supplier of updated davical package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 25 Sep 2025 08:27:38 +0200
Source: davical
Architecture: source
Version: 1.1.12-2.2
Distribution: unstable
Urgency: medium
Maintainer: Davical Development Team <[email protected]>
Changed-By: David Prévot <[email protected]>
Closes: 1099659
Changes:
davical (1.1.12-2.2) unstable; urgency=medium
.
* Non-maintainer upload
* Update latest patch to PHPUnit 12 syntax (Closes: #1099659)
Checksums-Sha1:
0e96d0dade4e3d5a8e2d313f7814ab3d67597536 1840 davical_1.1.12-2.2.dsc
1f8e0342bde2dd6acdf2d39bf672af9729570c03 16200 davical_1.1.12-2.2.debian.tar.xz
079035eecaf1ffb602f067b4e33201e70980b086 7601
davical_1.1.12-2.2_amd64.buildinfo
Checksums-Sha256:
c460f34267b78ebc4e5f19abb2bbd4518526b58ed8d3d11e4cde9eadb3494f96 1840
davical_1.1.12-2.2.dsc
b5366f0a3fb4bcf07cf93a47a70c631c2382a4e866a1b051ae891051e53e044f 16200
davical_1.1.12-2.2.debian.tar.xz
086da2ac760266fffdcbe252ad788f4ba8e77297682c3048aa0d305c580fc5a6 7601
davical_1.1.12-2.2_amd64.buildinfo
Files:
329d53ece5318ed2f945e180d9557628 1840 web optional davical_1.1.12-2.2.dsc
af44b2813d47e30cdd9df34daf1f9565 16200 web optional
davical_1.1.12-2.2.debian.tar.xz
8add005d4e475af8c3ac4b2afbd0ca82 7601 web optional
davical_1.1.12-2.2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmjU5QQSHHRhZmZpdEBk
ZWJpYW4ub3JnAAoJEAWMHPlE9r08r5UH/3iq/nDl+kVRCzeqqAR3Fvn9qIDjDZgb
iRdK+CIPvG1RczAmDZQ6h5ZIG60a7SgqohLi6Q/t0tlJcq7aB4J15xq8iFUUsr/M
0f/u/YzuoEGQ+RUwiRU2/QW8LD0k4+Q+ZyDmG1mRkh0z0FxCuC/M2r5o/NTaapmY
FEALkiVeBrTFaS3NMttZBBplC0tOIoRgkQ9APykH73P/fqjzTkEHL0eo5+AQ1T8W
9aaJID9pOy/RbijgGVtoVZMis8j3PwgqD7KAM1AuxDcbyhYzneJmxA+7FE58uGcl
MmTtuVmCtOM3EZuQm+hlJ7ANS8JbufdBodSGQsM5PMwwRv1pqSKpex4=
=k5TB
-----END PGP SIGNATURE-----
pgpdoOQ1QtgEc.pgp
Description: PGP signature
--- End Message ---