summaryrefslogtreecommitdiffstats
path: root/phpunit11.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-06 08:57:29 +0100
committerRemi Collet <remi@php.net>2024-12-06 08:57:29 +0100
commit904188bb2643ca6d0ff2b9c579343b1e8d3d26ed (patch)
treef456d44e8906598e1f4f512f6bcb7a0d313c8b9b /phpunit11.spec
parentb414963df3f566c991933e9810693dc78f63b7f6 (diff)
update to 11.5.0
raise dependency on sebastian/exporter 6.3.0 add dependency on staabm/side-effects-detector
Diffstat (limited to 'phpunit11.spec')
-rw-r--r--phpunit11.spec39
1 files changed, 31 insertions, 8 deletions
diff --git a/phpunit11.spec b/phpunit11.spec
index 7297f2c..2ce13a9 100644
--- a/phpunit11.spec
+++ b/phpunit11.spec
@@ -20,8 +20,8 @@
%bcond_with defcmd
%endif
-%global gh_commit f9ba7bd3c9f3ff54ec379d7a1c2e3f13fe0bbde4
-%global gh_date 2024-11-27
+%global gh_commit 0569902506a6c0878930b87ea79ec3b50ea563f7
+%global gh_date 2024-12-06
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpunit
@@ -32,9 +32,9 @@
%global ns_vendor PHPUnit11
%global php_home %{_datadir}/php
%global ver_major 11
-%global ver_minor 4
+%global ver_minor 5
-%global upstream_version 11.4.4
+%global upstream_version 11.5.0
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@@ -66,11 +66,12 @@ BuildRequires: (php-composer(sebastian/code-unit) >= 3.0.1 with php-c
BuildRequires: (php-composer(sebastian/comparator) >= 6.2.1 with php-composer(sebastian/comparator) < 7)
BuildRequires: (php-composer(sebastian/diff) >= 6.0.2 with php-composer(sebastian/diff) < 7)
BuildRequires: (php-composer(sebastian/environment) >= 7.2.0 with php-composer(sebastian/environment) < 8)
-BuildRequires: (php-composer(sebastian/exporter) >= 6.1.3 with php-composer(sebastian/exporter) < 7)
+BuildRequires: (php-composer(sebastian/exporter) >= 6.3.0 with php-composer(sebastian/exporter) < 7)
BuildRequires: (php-composer(sebastian/global-state) >= 7.0.2 with php-composer(sebastian/global-state) < 8)
BuildRequires: (php-composer(sebastian/object-enumerator) >= 6.0.1 with php-composer(sebastian/object-enumerator) < 7)
BuildRequires: (php-composer(sebastian/type) >= 5.1.0 with php-composer(sebastian/type) < 6)
BuildRequires: (php-composer(sebastian/version) >= 5.0.2 with php-composer(sebastian/version) < 6)
+BuildRequires: (php-composer(staabm/side-effects-detector) >= 1.0.5 with php-composer(staabm/side-effects-detector) < 2)
BuildRequires: php-dom
BuildRequires: php-json
BuildRequires: php-mbstring
@@ -101,11 +102,12 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# "sebastian/comparator": "^6.2.1",
# "sebastian/diff": "^6.0.2",
# "sebastian/environment": "^7.2.0",
-# "sebastian/exporter": "^6.1.3",
+# "sebastian/exporter": "^6.3.0",
# "sebastian/global-state": "^7.0.2",
# "sebastian/object-enumerator": "^6.0.1",
# "sebastian/type": "^5.1.0",
-# "sebastian/version": "^5.0.2"
+# "sebastian/version": "^5.0.2",
+# "staabm/side-effects-detector": "^1.0.5"
Requires: php(language) >= 8.1
Requires: php-cli
Requires: php-dom
@@ -127,11 +129,12 @@ Requires: (php-composer(sebastian/code-unit) >= 3.0.1 with php-c
Requires: (php-composer(sebastian/comparator) >= 6.2.1 with php-composer(sebastian/comparator) < 7)
Requires: (php-composer(sebastian/diff) >= 6.0.2 with php-composer(sebastian/diff) < 7)
Requires: (php-composer(sebastian/environment) >= 7.2.0 with php-composer(sebastian/environment) < 8)
-Requires: (php-composer(sebastian/exporter) >= 6.1.3 with php-composer(sebastian/exporter) < 7)
+Requires: (php-composer(sebastian/exporter) >= 6.3.0 with php-composer(sebastian/exporter) < 7)
Requires: (php-composer(sebastian/global-state) >= 7.0.2 with php-composer(sebastian/global-state) < 8)
Requires: (php-composer(sebastian/object-enumerator) >= 6.0.1 with php-composer(sebastian/object-enumerator) < 7)
Requires: (php-composer(sebastian/type) >= 5.1.0 with php-composer(sebastian/type) < 6)
Requires: (php-composer(sebastian/version) >= 5.0.2 with php-composer(sebastian/version) < 6)
+Requires: (php-composer(staabm/side-effects-detector) >= 1.0.5 with php-composer(staabm/side-effects-detector) < 2)
# From composer.json, "suggest": {
# "ext-soap": "*",
Suggests: php-soap
@@ -194,6 +197,7 @@ cat << 'EOF' | tee -a src/autoload.php
'%{php_home}/SebastianBergmann/ObjectEnumerator6/autoload.php',
'%{php_home}/SebastianBergmann/Type5/autoload.php',
'%{php_home}/SebastianBergmann/Version5/autoload.php',
+ '%{php_home}/staabm/SideEffectsDetector/autoload.php',
'%{php_home}/DeepCopy/autoload.php',
'%{php_home}/PharIo/Manifest2/autoload.php',
'%{php_home}/PharIo/Version3/autoload.php',
@@ -217,6 +221,20 @@ cat << 'EOF' | tee -a tests/autoload.php
__DIR__ . '/unit/Framework/MockObject/TestDoubleTestCase.php',
__DIR__ . '/unit/Metadata/Parser/AnnotationParserTestCase.php',
__DIR__ . '/unit/Metadata/Parser/AttributeParserTestCase.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyArrayTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyBoolTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyCallableTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyFloatTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyInstancesOfTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyIntTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyIterableTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyNullTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyNumericTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyObjectTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyResourceTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyClosedResourceTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyScalarTest.php',
+ __DIR__ . '/unit/Framework/Assert/assertContainsOnlyStringTest.php',
__DIR__ . '/unit/Framework/Assert/assertDirectoryExistsTest.php',
__DIR__ . '/unit/Framework/Assert/assertFileExistsTest.php',
__DIR__ . '/unit/Framework/Assert/assertIsNumericTest.php',
@@ -280,6 +298,11 @@ exit $ret
%changelog
+* Fri Dec 6 2024 Remi Collet <remi@remirepo.net> - 11.5.0-1
+- update to 11.5.0
+- raise dependency on sebastian/exporter 6.3.0
+- add dependency on staabm/side-effects-detector
+
* Thu Nov 28 2024 Remi Collet <remi@remirepo.net> - 11.4.4-1
- update to 11.4.4
- raise dependency on myclabs/deep-copy 1.12.1