summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpdocumentor-type-resolver1.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-phpdocumentor-type-resolver1.spec b/php-phpdocumentor-type-resolver1.spec
index c1281cd..220439d 100644
--- a/php-phpdocumentor-type-resolver1.spec
+++ b/php-phpdocumentor-type-resolver1.spec
@@ -25,9 +25,9 @@
# "phpdocumentor/reflection-common": "^2.0"
%global reflection_common_min_ver 2.0
%global reflection_common_max_ver 3
-# "phpstan/phpdoc-parser": "^1.18",
+# "phpstan/phpdoc-parser": "^1.18|^2.0",
%global phpdoc_parser_min_ver 1.18
-%global phpdoc_parser_max_ver 2
+%global phpdoc_parser_max_ver 3
# "doctrine/deprecations": "^1.0"
%global deprecations_min_ver 1.0
%global deprecations_max_ver 2
@@ -39,7 +39,7 @@
Name: php-%{composer_vendor}-%{composer_project}%{major}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 2%{?github_release}%{?dist}
Summary: A PSR-5 based resolver of Class names, Types and Structural Element Names
Group: Development/Libraries
@@ -66,9 +66,9 @@ BuildRequires: php-reflection
BuildRequires: php-pcre
BuildRequires: php-spl
BuildRequires: php-tokenizer
+%endif
## Autoloader
BuildRequires: php-fedora-autoloader-devel
-%endif
# composer.json
Requires: php(language) >= %{php_min_ver}
@@ -169,6 +169,9 @@ exit $RETURN_CODE
%changelog
+* Mon Dec 23 2024 Remi Collet <remi@remirepo.net> - 1.10.0-2
+- allow phpstan/phpdoc-parser v2
+
* Tue Nov 12 2024 Remi Collet <remi@remirepo.net> - 1.10.0-1
- update to 1.10.0