diff options
author | Remi Collet <remi@remirepo.net> | 2025-03-19 10:27:16 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-03-19 10:27:16 +0100 |
commit | 51fa1c480fcb3053224028557d5e4f7561a446c1 (patch) | |
tree | f1b27a9c4beacd8b833ae66e3acd18616250b876 | |
parent | fb0598e1c489e9b13e6e26164806ce4898fbcc99 (diff) |
-rw-r--r-- | composer.json | 3 | ||||
-rw-r--r-- | php-sebastian-code-unit3.spec | 16 |
2 files changed, 10 insertions, 9 deletions
diff --git a/composer.json b/composer.json index d97cfee..29859cb 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,8 @@ ], "files": [ "tests/_fixture/file_with_multiple_code_units.php", - "tests/_fixture/function.php" + "tests/_fixture/function.php", + "tests/_fixture/issue_9.php" ] }, "extra": { diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec index 3d76f07..c1ed3ca 100644 --- a/php-sebastian-code-unit3.spec +++ b/php-sebastian-code-unit3.spec @@ -11,11 +11,11 @@ %bcond_without tests # Sources -%global gh_commit ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca +%global gh_commit 54391c61e4af8078e5b276ab082b6d3c54c9ad64 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project code-unit -%global gh_date 2024-12-12 +%global gh_date 2025-03-19 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -26,8 +26,8 @@ %global ns_project CodeUnit Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 3.0.2 -Release: 2%{?dist} +Version: 3.0.3 +Release: 1%{?dist} Summary: Collection of value objects that represent the PHP code units, version %{major} License: BSD-3-Clause @@ -38,8 +38,6 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 8.2 -BuildRequires: php-reflection -BuildRequires: php-spl # Autoloader BuildRequires: php-fedora-autoloader-devel %if %{with tests} @@ -52,8 +50,6 @@ BuildRequires: phpunit11 >= 11.5 # "php": ">=8.2" Requires: php(language) >= 8.2 # From phpcompatinfo report for 2.0.0 -Requires: php-reflection -Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -100,6 +96,7 @@ cat << 'EOF' | tee vendor/autoload.php require_once dirname(__DIR__) . '/tests/_fixture/autoload.php'; require_once dirname(__DIR__) . '/tests/_fixture/file_with_multiple_code_units.php'; require_once dirname(__DIR__) . '/tests/_fixture/function.php'; +require_once dirname(__DIR__) . '/tests/_fixture/issue_9.php'; EOF : Run tests @@ -122,6 +119,9 @@ exit $ret %changelog +* Wed Mar 19 2025 Remi Collet <remi@remirepo.net> - 3.0.3-1 +- update to 3.0.3 + * Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 3.0.2-2 - enable test suite |