--qwcVXbymi/Xhykvb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: php-matomo-device-detector
Version: 6.3.2-1.1
Severity: important
Tags: patch
Control: block 1099656 by -1
X-Debbugs-Cc: Debian PHP PEAR Maintainers <
pkg-php-pear@lists.alioth.debian.org>
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.
I also submitted this patch as an MR in salsa.
https://salsa.debian.org/matomo-team/matomo-device-detector/-/merge_requests/1
Thanks in advance.
Regards,
taffit
--qwcVXbymi/Xhykvb
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename="0002-Modernize-PHPUnit-syntax.patch" Content-Transfer-Encoding: quoted-printable
From: =?utf-8?q?David_Pr=C3=A9vot?= <
taffit@debian.org>
Date: Sun, 9 Mar 2025 17:58:44 +0100
Subject: Modernize PHPUnit syntax
---
Tests/DeviceDetectorTest.php | 25 +++++++------------------
Tests/Parser/Client/BrowserTest.php | 9 +++------
Tests/Parser/Client/FeedReaderTest.php | 5 ++---
Tests/Parser/Client/LibraryTest.php | 5 ++---
Tests/Parser/Client/MediaPlayerTest.php | 5 ++---
Tests/Parser/Client/MobileAppTest.php | 5 ++---
Tests/Parser/Client/PIMTest.php | 5 ++---
Tests/Parser/Device/CameraTest.php | 5 ++---
Tests/Parser/Device/CarBrowserTest.php | 5 ++---
Tests/Parser/Device/ConsoleTest.php | 5 ++---
Tests/Parser/Device/NotebookTest.php | 5 ++---
Tests/Parser/OperatingSystemTest.php | 17 +++++------------
Tests/Parser/VendorFragmentTest.php | 5 ++---
13 files changed, 35 insertions(+), 66 deletions(-)
diff --git a/Tests/DeviceDetectorTest.php b/Tests/DeviceDetectorTest.php
index de0ffd4..cd72ba5 100644
--- a/Tests/DeviceDetectorTest.php
+++ b/Tests/DeviceDetectorTest.php
@@ -23,6 +23,7 @@ use DeviceDetector\Parser\Device\AbstractDe