diff options
-rw-r--r-- | composer.json | 21 | ||||
-rw-r--r-- | phpunit11.spec | 39 |
2 files changed, 49 insertions, 11 deletions
diff --git a/composer.json b/composer.json index 4658623..79b2819 100644 --- a/composer.json +++ b/composer.json @@ -42,11 +42,12 @@ "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" }, "config": { "platform": { @@ -79,6 +80,20 @@ "tests/unit/Framework/MockObject/TestDoubleTestCase.php", "tests/unit/Metadata/Parser/AnnotationParserTestCase.php", "tests/unit/Metadata/Parser/AttributeParserTestCase.php", + "tests/unit/Framework/Assert/assertContainsOnlyArrayTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyBoolTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyCallableTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyFloatTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyInstancesOfTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyIntTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyIterableTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyNullTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyNumericTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyObjectTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyResourceTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyClosedResourceTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyScalarTest.php", + "tests/unit/Framework/Assert/assertContainsOnlyStringTest.php", "tests/unit/Framework/Assert/assertDirectoryExistsTest.php", "tests/unit/Framework/Assert/assertFileExistsTest.php", "tests/unit/Framework/Assert/assertIsNumericTest.php", @@ -100,7 +115,7 @@ }, "extra": { "branch-alias": { - "dev-main": "11.4-dev" + "dev-main": "11.5-dev" } } } 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 |