Compare commits

...
Sign in to create a new pull request.

19 commits

Author SHA1 Message Date
Remi Collet
efca259311 v10.5.45
(cherry picked from commit bc52925d0e)
2025-02-07 10:59:49 +01:00
Remi Collet
7b701fb1a5 v10.5.44
(cherry picked from commit 5562db9756)
2025-01-31 10:51:37 +01:00
Remi Collet
2782752547 v10.5.43
(cherry picked from commit d64d183326)
2025-01-29 16:38:56 +01:00
Remi Collet
00a557613b v10.5.42
(cherry picked from commit 1751a12ad9)
(cherry picked from commit bb4d76ff20)
2025-01-29 09:53:02 +01:00
Remi Collet
56a899452c v10.5.41
(cherry picked from commit ef649646ff)
2025-01-13 11:58:31 +01:00
Remi Collet
2636a4680d v5.4.0
(cherry picked from commit 54be44b778)
2024-12-23 14:17:42 +01:00
Remi Collet
72b051d73b update to 10.5.39
raise dependency on myclabs/deep-copy 1.12.1
re-license spec file to CECILL-2.1

(cherry picked from commit 177fc89666)
2024-12-11 14:26:19 +01:00
Remi Collet
b854b93564 v10.5.38
(cherry picked from commit d9f1897022)
2024-10-29 08:25:07 +01:00
Remi Collet
871190afee update to 10.5.37
raise dependency on sebastian/comparator 5.0.3

(cherry picked from commit c80e40cc50)
2024-10-21 12:15:50 +02:00
Remi Collet
7cb94deb8a v10.5.36
(cherry picked from commit a5b09ffa7e)
2024-10-09 11:35:28 +02:00
Remi Collet
98d0935c7c v10.5.35
(cherry picked from commit 04950d7d41)
2024-09-19 15:17:42 +02:00
Remi Collet
6d5ed19447 v10.5.34
(cherry picked from commit 56e95b580c)
2024-09-13 10:54:24 +02:00
Remi Collet
913ee7489a v10.5.33
(cherry picked from commit 8fa3a8f1ad)
2024-09-09 11:11:27 +02:00
Remi Collet
ba22c29373 v10.5.32
(cherry picked from commit 49b6f5973a)
2024-09-05 07:29:53 +02:00
Remi Collet
69ee23d7b6 v10.5.31
(cherry picked from commit c2612023bf)
2024-09-03 16:29:52 +02:00
Remi Collet
493b698a06 update to 10.5.30
raise dependency on sebastian/comparator 5.0.2

(cherry picked from commit f5758afc49)
2024-08-13 11:18:17 +02:00
Remi Collet
f453bd2027 v10.5.29
(cherry picked from commit c7d5888f6b)
2024-07-30 15:31:59 +02:00
Remi Collet
65ce7de81f v10.5.28
(cherry picked from commit 73c03d8759)
2024-07-19 08:28:39 +02:00
Remi Collet
9462584ab5 v10.5.26
(cherry picked from commit 048dee0c3d)
2024-07-08 09:40:20 +02:00
4 changed files with 208 additions and 88 deletions

21
.gitignore vendored
View file

@ -28,3 +28,24 @@
/phpunit10-10.5.19-c726f0d.tgz
/phpunit10-10.5.20-547d314.tgz
/phpunit10-10.5.24-5f124e3.tgz
/phpunit10-10.5.25-831bf82.tgz
/phpunit10-10.5.26-42e2f13.tgz
/phpunit10-10.5.27-2425f71.tgz
/phpunit10-10.5.28-ff7fb85.tgz
/phpunit10-10.5.29-8e9e808.tgz
/phpunit10-10.5.30-b15524f.tgz
/phpunit10-10.5.31-43e7c3e.tgz
/phpunit10-10.5.32-f069f46.tgz
/phpunit10-10.5.33-4def7a9.tgz
/phpunit10-10.5.34-3c69d31.tgz
/phpunit10-10.5.35-7ac8b4e.tgz
/phpunit10-10.5.36-aa0a8ce.tgz
/phpunit10-10.5.37-c7cffa0.tgz
/phpunit10-10.5.38-a86773b.tgz
/phpunit10-10.5.39-4e89eff.tgz
/phpunit10-10.5.40-e6ddda9.tgz
/phpunit10-10.5.41-e76586f.tgz
/phpunit10-10.5.42-a9336f4.tgz
/phpunit10-10.5.43-fb117a8.tgz
/phpunit10-10.5.44-1381c62.tgz
/phpunit10-10.5.45-bd68a78.tgz

View file

@ -1,6 +1,6 @@
diff -up ./phpunit.rpm ./phpunit
--- ./phpunit.rpm 2024-03-21 10:34:01.000000000 +0100
+++ ./phpunit 2024-03-21 14:02:24.892294049 +0100
--- ./phpunit.rpm 2024-10-28 16:44:45.000000000 +0100
+++ ./phpunit 2024-10-28 16:48:36.313661416 +0100
@@ -46,27 +46,13 @@ if (isset($GLOBALS['_composer_autoload_p
define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']);
@ -50,18 +50,23 @@ diff -up ./phpunit.rpm ./phpunit
+ PHPUnit\TextUI\Command::main();
+}
diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/Command/Commands/VersionCheckCommand.php
--- ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm 2024-03-21 10:34:01.000000000 +0100
+++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-03-21 14:02:53.539493026 +0100
@@ -24,7 +24,7 @@ final class VersionCheckCommand implemen
public function execute(): Result
{
$latestVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit');
- $latestCompatibleVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . Version::majorVersionNumber());
+ $latestCompatibleVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . $major=Version::majorVersionNumber());
--- ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm 2024-10-28 16:44:45.000000000 +0100
+++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-10-28 17:08:20.070934441 +0100
@@ -39,7 +39,7 @@ final class VersionCheckCommand implemen
$notLatest = version_compare($latestVersion, Version::id(), '>');
$notLatestCompatible = version_compare($latestCompatibleVersion, Version::id(), '>');
@@ -35,7 +35,7 @@ final class VersionCheckCommand implemen
assert($latestVersion !== false);
- $latestCompatibleVersion = $this->downloader->download('https://phar.phpunit.de/latest-version-of/phpunit-' . $this->majorVersionNumber);
+ $latestCompatibleVersion = $this->downloader->download('https://phar.phpunit.de/latest-version-of/phpunit-' . $major=$this->majorVersionNumber);
assert($latestCompatibleVersion !== false);
@@ -48,11 +48,11 @@ final class VersionCheckCommand implemen
if (!$notLatest && !$notLatestCompatible) {
return Result::from(
- 'You are using the latest version of PHPUnit.' . PHP_EOL,
+ 'You are using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL,
);
}
@ -70,26 +75,28 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
if ($notLatestCompatible) {
$buffer .= sprintf(
@@ -43,6 +43,7 @@ final class VersionCheckCommand implemen
Version::id(),
@@ -60,6 +60,7 @@ final class VersionCheckCommand implemen
$this->versionId,
$latestCompatibleVersion,
);
+ $buffer .= sprintf('Try a system update for new phpunit%s package.' . PHP_EOL . PHP_EOL, $major);
}
if ($notLatest) {
@@ -50,6 +51,7 @@ final class VersionCheckCommand implemen
@@ -67,6 +68,9 @@ final class VersionCheckCommand implemen
'The latest version is PHPUnit %s.' . PHP_EOL,
$latestVersion,
);
+ $buffer .= sprintf('Try to install and use the phpunit%s command.' . PHP_EOL . PHP_EOL, explode('.', $latestVersion)[0]);
+ if ($major !== ($new = (int)explode('.', $latestVersion)[0])) {
+ $buffer .= sprintf('Try to install and use the phpunit%s command.' . PHP_EOL . PHP_EOL, explode('.', $latestVersion)[0]);
+ }
}
return Result::from($buffer);
diff -up ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm ./src/TextUI/Configuration/Xml/SchemaFinder.php
--- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2024-03-21 10:34:01.000000000 +0100
+++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-03-21 14:02:24.893294091 +0100
@@ -75,6 +75,6 @@ final class SchemaFinder
--- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2024-10-28 16:44:45.000000000 +0100
+++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-10-28 16:48:35.645635304 +0100
@@ -77,6 +77,6 @@ final class SchemaFinder
return __PHPUNIT_PHAR_ROOT__ . '/';
}
@ -98,8 +105,8 @@ diff -up ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm ./src/TextUI/Config
}
}
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
--- ./tests/bootstrap.php.rpm 2024-03-21 10:34:01.000000000 +0100
+++ ./tests/bootstrap.php 2024-03-21 14:02:24.893294091 +0100
--- ./tests/bootstrap.php.rpm 2024-10-28 16:44:45.000000000 +0100
+++ ./tests/bootstrap.php 2024-10-28 16:48:36.312661377 +0100
@@ -11,8 +11,8 @@ if (!defined('TEST_FILES_PATH')) {
define('TEST_FILES_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR);
}
@ -129,3 +136,39 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
}
if ($phar) {
diff -up ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php.rpm ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php
--- ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php.rpm 2024-10-28 16:44:45.000000000 +0100
+++ ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php 2024-10-28 17:05:46.654936571 +0100
@@ -28,15 +28,16 @@ final class VersionCheckCommandTest exte
{
return [
[
- 'You are using the latest version of PHPUnit.' . PHP_EOL,
+ 'You are using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL,
10,
'10.5.0',
'10.5.0',
'10.5.0',
],
[
- 'You are not using the latest version of PHPUnit.' . PHP_EOL .
+ 'You are not using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL .
'The latest version compatible with PHPUnit 10.5.0 is PHPUnit 10.5.1.' . PHP_EOL .
+ 'Try a system update for new phpunit10 package.' . PHP_EOL . PHP_EOL .
'The latest version is PHPUnit 10.5.1.' . PHP_EOL,
10,
'10.5.0',
@@ -44,9 +45,11 @@ final class VersionCheckCommandTest exte
'10.5.1',
],
[
- 'You are not using the latest version of PHPUnit.' . PHP_EOL .
+ 'You are not using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL .
'The latest version compatible with PHPUnit 10.5.0 is PHPUnit 10.5.1.' . PHP_EOL .
- 'The latest version is PHPUnit 11.0.0.' . PHP_EOL,
+ 'Try a system update for new phpunit10 package.' . PHP_EOL . PHP_EOL .
+ 'The latest version is PHPUnit 11.0.0.' . PHP_EOL .
+ 'Try to install and use the phpunit11 command.' . PHP_EOL . PHP_EOL,
10,
'10.5.0',
'11.0.0',

View file

@ -1,9 +1,8 @@
# remirepo/fedora spec file for phpunit10
#
# Copyright (c) 2010-2024 Remi Collet
#
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@ -11,14 +10,14 @@
%bcond_without tests
%if 0%{?fedora} == 39
%if 0%{?fedora} == 39 || 0%{?fedora} == 40
%bcond_without defcmd
%else
%bcond_with defcmd
%endif
%global gh_commit 5f124e3e3e561006047b532fd0431bf5bb6b9015
%global gh_date 2024-06-20
%global gh_commit bd68a781d8e30348bc297449f5234b3458267ae8
%global gh_date 2025-02-07
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpunit
@ -31,7 +30,7 @@
%global ver_major 10
%global ver_minor 5
%global upstream_version 10.5.24
%global upstream_version 10.5.45
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@ -50,25 +49,25 @@ Patch0: %{name}-rpm.patch
BuildArch: noarch
BuildRequires: php(language) >= 8.1
BuildRequires: (php-composer(myclabs/deep-copy) >= 1.10.1 with php-composer(myclabs/deep-copy) < 2)
BuildRequires: (php-composer(phar-io/manifest) >= 2.0.3 with php-composer(phar-io/manifest) < 3)
BuildRequires: (php-composer(phar-io/version) >= 3.0.2 with php-composer(phar-io/version) < 4)
BuildRequires: (php-composer(phpunit/php-code-coverage) >= 10.1.5 with php-composer(phpunit/php-code-coverage) < 11)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 4.0 with php-composer(phpunit/php-file-iterator) < 5)
BuildRequires: (php-composer(myclabs/deep-copy) >= 1.12.1 with php-composer(myclabs/deep-copy) < 2)
BuildRequires: (php-composer(phar-io/manifest) >= 2.0.4 with php-composer(phar-io/manifest) < 3)
BuildRequires: (php-composer(phar-io/version) >= 3.2.1 with php-composer(phar-io/version) < 4)
BuildRequires: (php-composer(phpunit/php-code-coverage) >= 10.1.15 with php-composer(phpunit/php-code-coverage) < 11)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 4.1.0 with php-composer(phpunit/php-file-iterator) < 5)
BuildRequires: (php-composer(phpunit/php-invoker) >= 4.0 with php-composer(phpunit/php-invoker) < 5)
BuildRequires: (php-composer(phpunit/php-text-template) >= 3.0 with php-composer(phpunit/php-text-template) < 4)
BuildRequires: (php-composer(phpunit/php-text-template) >= 3.0.1 with php-composer(phpunit/php-text-template) < 4)
BuildRequires: (php-composer(phpunit/php-timer) >= 6.0 with php-composer(phpunit/php-timer) < 7)
BuildRequires: (php-composer(sebastian/cli-parser) >= 2.0 with php-composer(sebastian/cli-parser) < 3)
BuildRequires: (php-composer(sebastian/cli-parser) >= 2.0.1 with php-composer(sebastian/cli-parser) < 3)
BuildRequires: (php-composer(sebastian/code-unit) >= 2.0 with php-composer(sebastian/code-unit) < 3)
BuildRequires: (php-composer(sebastian/comparator) >= 5.0 with php-composer(sebastian/comparator) < 6)
BuildRequires: (php-composer(sebastian/diff) >= 5.0 with php-composer(sebastian/diff) < 6)
BuildRequires: (php-composer(sebastian/environment) >= 6.0 with php-composer(sebastian/environment) < 7)
BuildRequires: (php-composer(sebastian/exporter) >= 5.1 with php-composer(sebastian/exporter) < 6)
BuildRequires: (php-composer(sebastian/global-state) >= 6.0.1 with php-composer(sebastian/global-state) < 7)
BuildRequires: (php-composer(sebastian/comparator) >= 5.0.3 with php-composer(sebastian/comparator) < 6)
BuildRequires: (php-composer(sebastian/diff) >= 5.1.1 with php-composer(sebastian/diff) < 6)
BuildRequires: (php-composer(sebastian/environment) >= 6.1.0 with php-composer(sebastian/environment) < 7)
BuildRequires: (php-composer(sebastian/exporter) >= 5.1.2 with php-composer(sebastian/exporter) < 6)
BuildRequires: (php-composer(sebastian/global-state) >= 6.0.2 with php-composer(sebastian/global-state) < 7)
BuildRequires: (php-composer(sebastian/object-enumerator) >= 5.0 with php-composer(sebastian/object-enumerator) < 6)
BuildRequires: (php-composer(sebastian/recursion-context) >= 5.0 with php-composer(sebastian/recursion-context) < 6)
BuildRequires: (php-composer(sebastian/type) >= 4.0 with php-composer(sebastian/type) < 5)
BuildRequires: (php-composer(sebastian/version) >= 4.0 with php-composer(sebastian/version) < 5)
BuildRequires: (php-composer(sebastian/version) >= 4.0.1 with php-composer(sebastian/version) < 5)
BuildRequires: php-dom
BuildRequires: php-json
BuildRequires: php-mbstring
@ -86,25 +85,25 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# "ext-mbstring": "*",
# "ext-xml": "*",
# "ext-xmlwriter": "*",
# "myclabs/deep-copy": "^1.10.1",
# "phar-io/manifest": "^2.0.3",
# "phar-io/version": "^3.0.2",
# "phpunit/php-code-coverage": "^10.1.5",
# "phpunit/php-file-iterator": "^4.0",
# "phpunit/php-invoker": "^4.0",
# "phpunit/php-text-template": "^3.0",
# "phpunit/php-timer": "^6.0",
# "sebastian/cli-parser": "^2.0",
# "sebastian/code-unit": "^2.0",
# "sebastian/comparator": "^5.0",
# "sebastian/diff": "^5.0",
# "sebastian/environment": "^6.0",
# "sebastian/exporter": "^5.1",
# "sebastian/global-state": "^6.0.1",
# "sebastian/object-enumerator": "^5.0",
# "sebastian/recursion-context": "^5.0",
# "sebastian/type": "^4.0",
# "sebastian/version": "^4.0"
# "myclabs/deep-copy": "^1.12.1",
# "phar-io/manifest": "^2.0.4",
# "phar-io/version": "^3.2.1",
# "phpunit/php-code-coverage": "^10.1.15",
# "phpunit/php-file-iterator": "^4.1.0",
# "phpunit/php-invoker": "^4.0.0",
# "phpunit/php-text-template": "^3.0.1",
# "phpunit/php-timer": "^6.0.0",
# "sebastian/cli-parser": "^2.0.1",
# "sebastian/code-unit": "^2.0.0",
# "sebastian/comparator": "^5.0.3",
# "sebastian/diff": "^5.1.1",
# "sebastian/environment": "^6.1.0",
# "sebastian/exporter": "^5.1.2",
# "sebastian/global-state": "^6.0.2",
# "sebastian/object-enumerator": "^5.0.0",
# "sebastian/recursion-context": "^5.0.0",
# "sebastian/type": "^4.0.0",
# "sebastian/version": "^4.0.1"
Requires: php(language) >= 8.1
Requires: php-cli
Requires: php-dom
@ -113,42 +112,37 @@ Requires: php-libxml
Requires: php-mbstring
Requires: php-xml
Requires: php-xmlwriter
Requires: (php-composer(myclabs/deep-copy) >= 1.10.1 with php-composer(myclabs/deep-copy) < 2)
Requires: (php-composer(phar-io/manifest) >= 2.0.3 with php-composer(phar-io/manifest) < 3)
Requires: (php-composer(phar-io/version) >= 3.0.2 with php-composer(phar-io/version) < 4)
Requires: (php-composer(phpunit/php-code-coverage) >= 10.1.5 with php-composer(phpunit/php-code-coverage) < 11)
Requires: (php-composer(phpunit/php-file-iterator) >= 4.0 with php-composer(phpunit/php-file-iterator) < 5)
Requires: (php-composer(myclabs/deep-copy) >= 1.12.1 with php-composer(myclabs/deep-copy) < 2)
Requires: (php-composer(phar-io/manifest) >= 2.0.4 with php-composer(phar-io/manifest) < 3)
Requires: (php-composer(phar-io/version) >= 3.2.1 with php-composer(phar-io/version) < 4)
Requires: (php-composer(phpunit/php-code-coverage) >= 10.1.15 with php-composer(phpunit/php-code-coverage) < 11)
Requires: (php-composer(phpunit/php-file-iterator) >= 4.1.0 with php-composer(phpunit/php-file-iterator) < 5)
Requires: (php-composer(phpunit/php-invoker) >= 4.0 with php-composer(phpunit/php-invoker) < 5)
Requires: (php-composer(phpunit/php-text-template) >= 3.0 with php-composer(phpunit/php-text-template) < 4)
Requires: (php-composer(phpunit/php-text-template) >= 3.0.1 with php-composer(phpunit/php-text-template) < 4)
Requires: (php-composer(phpunit/php-timer) >= 6.0 with php-composer(phpunit/php-timer) < 7)
Requires: (php-composer(sebastian/cli-parser) >= 2.0 with php-composer(sebastian/cli-parser) < 3)
Requires: (php-composer(sebastian/cli-parser) >= 2.0.1 with php-composer(sebastian/cli-parser) < 3)
Requires: (php-composer(sebastian/code-unit) >= 2.0 with php-composer(sebastian/code-unit) < 3)
Requires: (php-composer(sebastian/comparator) >= 5.0 with php-composer(sebastian/comparator) < 6)
Requires: (php-composer(sebastian/diff) >= 5.0 with php-composer(sebastian/diff) < 6)
Requires: (php-composer(sebastian/environment) >= 6.0 with php-composer(sebastian/environment) < 7)
Requires: (php-composer(sebastian/exporter) >= 5.1 with php-composer(sebastian/exporter) < 6)
Requires: (php-composer(sebastian/global-state) >= 6.0.1 with php-composer(sebastian/global-state) < 7)
Requires: (php-composer(sebastian/comparator) >= 5.0.3 with php-composer(sebastian/comparator) < 6)
Requires: (php-composer(sebastian/diff) >= 5.1.1 with php-composer(sebastian/diff) < 6)
Requires: (php-composer(sebastian/environment) >= 6.1.0 with php-composer(sebastian/environment) < 7)
Requires: (php-composer(sebastian/exporter) >= 5.1.2 with php-composer(sebastian/exporter) < 6)
Requires: (php-composer(sebastian/global-state) >= 6.0.2 with php-composer(sebastian/global-state) < 7)
Requires: (php-composer(sebastian/object-enumerator) >= 5.0 with php-composer(sebastian/object-enumerator) < 6)
Requires: (php-composer(sebastian/recursion-context) >= 5.0 with php-composer(sebastian/recursion-context) < 6)
Requires: (php-composer(sebastian/type) >= 4.0 with php-composer(sebastian/type) < 5)
Requires: (php-composer(sebastian/version) >= 4.0 with php-composer(sebastian/version) < 5)
Requires: (php-composer(sebastian/version) >= 4.0.1 with php-composer(sebastian/version) < 5)
# From composer.json, "suggest": {
# "ext-soap": "*",
Suggests: php-soap
# recommends latest versions
# Fedora 38+ only until 8.1 EOL
%if 0%{?fedora} >= 38
Recommends: phpunit11
%endif
Recommends: phpunit12
# Autoloader
Requires: php-composer(fedora/autoloader)
# From phpcompatinfo report for version 10.0.0
Requires: php-reflection
Requires: php-openssl
Requires: php-pcntl
Requires: php-pcre
Requires: php-phar
Requires: php-spl
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
Provides: php-composer(phpunit/phpunit) = %{version}
@ -212,18 +206,19 @@ cat src/autoload.php
%{_bindir}/phpab \
--output tests/autoload.php \
--exclude 'tests/end-to-end/regression/4376/tests/Test.php' \
--exclude 'tests/end-to-end/regression/2448/Test.php' \
--exclude 'tests/*/_files/*.php' \
tests
tests/_files
cat << 'EOF' | tee -a tests/autoload.php
// Dependencies
\Fedora\Autoloader\Dependencies::required([
__DIR__ . '/unit/Event/AbstractEventTestCase.php',
__DIR__ . '/unit/Framework/MockObject/TestDoubleTestCase.php',
__DIR__ . '/unit/Metadata/Parser/AnnotationParserTestCase.php',
__DIR__ . '/unit/Metadata/Parser/AttributeParserTestCase.php',
__DIR__ . '/_files/CoverageNamespacedFunctionTest.php',
__DIR__ . '/_files/CoveredFunction.php',
__DIR__ . '/_files/Generator.php',
__DIR__ . '/_files/NamespaceCoveredFunction.php',
__DIR__ . '/end-to-end/code-coverage/ignore-function-using-attribute/src/CoveredFunction.php',
__DIR__ . '/end-to-end/execution-order/_files/MultiDependencyTest.php',
]);
EOF
@ -249,7 +244,7 @@ sed -e 's:@PATH@:%{buildroot}%{php_home}/%{ns_vendor}:' -i tests/bootstrap.php
sed -e 's:%{php_home}/%{ns_vendor}:%{buildroot}%{php_home}/%{ns_vendor}:' -i phpunit
ret=0
for cmd in php php81 php82 php83; do
for cmd in php php81 php82 php83 php84; do
if which $cmd; then
$cmd ./phpunit $OPT || ret=1
fi
@ -270,6 +265,67 @@ exit $ret
%changelog
* Fri Feb 7 2025 Remi Collet <remi@remirepo.net> - 10.5.45-1
- update to 10.5.45
* Fri Jan 31 2025 Remi Collet <remi@remirepo.net> - 10.5.44-1
- update to 10.5.44
* Wed Jan 29 2025 Remi Collet <remi@remirepo.net> - 10.5.43-1
- update to 10.5.43
* Wed Jan 29 2025 Remi Collet <remi@remirepo.net> - 10.5.42-1
- update to 10.5.42
* Mon Jan 13 2025 Remi Collet <remi@remirepo.net> - 10.5.41-1
- update to 10.5.41
* Sun Dec 22 2024 Remi Collet <remi@remirepo.net> - 10.5.40-1
- update to 10.5.40
* Wed Dec 11 2024 Remi Collet <remi@remirepo.net> - 10.5.39-1
- update to 10.5.39
- raise dependency on myclabs/deep-copy 1.12.1
- re-license spec file to CECILL-2.1
* Mon Oct 28 2024 Remi Collet <remi@remirepo.net> - 10.5.38-1
- update to 10.5.38
* Mon Oct 21 2024 Remi Collet <remi@remirepo.net> - 10.5.37-1
- update to 10.5.37
- raise dependency on sebastian/comparator 5.0.3
* Wed Oct 9 2024 Remi Collet <remi@remirepo.net> - 10.5.36-1
- update to 10.5.36
* Thu Sep 19 2024 Remi Collet <remi@remirepo.net> - 10.5.35-1
- update to 10.5.35
* Fri Sep 13 2024 Remi Collet <remi@remirepo.net> - 10.5.34-1
- update to 10.5.34
* Mon Sep 9 2024 Remi Collet <remi@remirepo.net> - 10.5.33-1
- update to 10.5.33
* Thu Sep 5 2024 Remi Collet <remi@remirepo.net> - 10.5.32-1
- update to 10.5.32
* Tue Sep 3 2024 Remi Collet <remi@remirepo.net> - 10.5.31-1
- update to 10.5.31
* Tue Aug 13 2024 Remi Collet <remi@remirepo.net> - 10.5.30-1
- update to 10.5.30
- raise dependency on sebastian/comparator 5.0.2
* Tue Jul 30 2024 Remi Collet <remi@remirepo.net> - 10.5.29-1
- update to 10.5.29
* Fri Jul 19 2024 Remi Collet <remi@remirepo.net> - 10.5.28-1
- update to 10.5.28
* Mon Jul 8 2024 Remi Collet <remi@remirepo.net> - 10.5.26-1
- update to 10.5.26
* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 10.5.24-1
- update to 10.5.24

View file

@ -1 +1 @@
SHA512 (phpunit10-10.5.24-5f124e3.tgz) = 4bd65da2357e12de60dbf40d504f001181f39c86f9e63603e9b0f34e18b40aa39e65a3fa0389298b25156d06afc724da172f7d6890cff10d01cd40c3887afc83
SHA512 (phpunit10-10.5.45-bd68a78.tgz) = 355af6f3ca95973eed631fbd5429f2a5a9ca6677aaaa79aea5e6140a4c3188c5116a141afa57e0782a691a5534fd75a5a673ae3338b7499a2de873ec52bbcfdf