summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-06-26 10:52:37 +0200
committerRemi Collet <remi@php.net>2025-06-26 10:52:37 +0200
commit2fa07cf3a28bb25b8b15f15c80dc87e226ebe00a (patch)
tree60d7bc05e5f246961f8170a171e3696a0bf99237
parente31e16d4f7e1f51d70c99209f0af852cd3272c54 (diff)
use phpunit9HEADmaster
-rw-r--r--PHPMailerRpmTest.php2
-rw-r--r--php-phpmailer6.spec7
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 <remi@remirepo.net> - 6.10.0-2
+- use phpunit9
+
* Mon Apr 28 2025 Remi Collet <remi@remirepo.net> - 6.10.0-1
- update to 6.10.0
- re-license spec file to CECILL-2.1