From 2fa07cf3a28bb25b8b15f15c80dc87e226ebe00a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 26 Jun 2025 10:52:37 +0200 Subject: use phpunit9 --- PHPMailerRpmTest.php | 2 +- php-phpmailer6.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/PHPMailerRpmTest.php b/PHPMailerRpmTest.php index 1a4c903..979033a 100644 --- a/PHPMailerRpmTest.php +++ b/PHPMailerRpmTest.php @@ -23,7 +23,7 @@ final class PHPMailerRpmTest extends TestCase /** * Run before each test is started. */ - protected function setUp() + protected function setUp(): void { $this->Mail = new PHPMailer(); } diff --git a/php-phpmailer6.spec b/php-phpmailer6.spec index b4994dc..37a3260 100644 --- a/php-phpmailer6.spec +++ b/php-phpmailer6.spec @@ -24,7 +24,7 @@ Name: php-%{pk_project}%{major} Version: 6.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Full-featured email creation and transfer class for PHP License: LGPL-2.1-only @@ -59,7 +59,7 @@ BuildRequires: php-fedora-autoloader-devel # "roave/security-advisories": "dev-latest", # "squizlabs/php_codesniffer": "^3.7.2", # "yoast/phpunit-polyfills": "^1.0.4" -%global phpunit %{_bindir}/phpunit7 +%global phpunit %{_bindir}/phpunit9 BuildRequires: (php-composer(yoast/phpunit-polyfills) >= 1.0.4 with php-composer(yoast/phpunit-polyfills) < 2) BuildRequires: %{phpunit} BuildRequires: %{_sbindir}/smtp-sink @@ -210,6 +210,9 @@ exit $ret %changelog +* Thu Jun 26 2025 Remi Collet - 6.10.0-2 +- use phpunit9 + * Mon Apr 28 2025 Remi Collet - 6.10.0-1 - update to 6.10.0 - re-license spec file to CECILL-2.1 -- cgit