(cherry picked from commit 1d36fa9af7)
This commit is contained in:
Remi Collet 2025-07-15 08:05:24 +02:00
commit bc8a4c975e
3 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/php-phpstan-phpdoc-parser-2.0.1-72e51f7.tgz
/php-phpstan-phpdoc-parser-2.0.2-51087f8.tgz
/php-phpstan-phpdoc-parser-2.1.0-9b30d6f.tgz
/php-phpstan-phpdoc-parser-2.2.0-b9e61a6.tgz

View file

@ -9,7 +9,7 @@
%bcond_without tests
%global gh_commit 9b30d6fd026b2c132b3985ce6b23bec09ab3aa68
%global gh_commit b9e61a61e39e02dd90944e9115241c7f7e76bfd8
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phpstan
%global gh_project phpdoc-parser
@ -19,7 +19,7 @@
%global major %nil
Name: php-%{gh_owner}-%{gh_project}%{major}
Version: 2.1.0
Version: 2.2.0
Release: 1%{?dist}
Summary: PHPDoc parser with support for nullable, intersection and generic types
@ -101,7 +101,7 @@ sed -e 's:exec://exec:' -i tests/bootstrap.php
# use auto_prepend_file to ensure we use new version (not old one pulled by PHPUnit)
# ignore test using doctrine/annotations
ret=0
for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do
for cmdarg in "php %{phpunit}" php81 php82 php83 php84 php85; do
if which $cmdarg; then
set $cmdarg
$1 -d auto_prepend_file=vendor/autoload.php \
@ -127,6 +127,9 @@ exit $ret
%changelog
* Tue Jul 15 2025 Remi Collet <remi@remirepo.net> - 2.2.0-1
- update to 2.2.0
* Wed Feb 19 2025 Remi Collet <remi@remirepo.net> - 2.1.0-1
- update to 2.1.0

View file

@ -1 +1 @@
SHA512 (php-phpstan-phpdoc-parser-2.1.0-9b30d6f.tgz) = 55e686acd5c3b0f4954dbb7befde1b619c2fc61d19a2d2a50364fa79157132a90a82de6582ec9f15451f29e52a112f5424ad62fc66d10765586ffc438edb07d7
SHA512 (php-phpstan-phpdoc-parser-2.2.0-b9e61a6.tgz) = c26b11d236d3dbe1462305051de53a4d6f28d0ba0a57c91c6d75d7ec3a6fec1346d168d9d10178f184574282432a95f42f3880190796c4b82507542c8bb6f240