(cherry picked from commit 798181bfcf)
This commit is contained in:
Remi Collet 2026-01-12 14:44:56 +01:00
commit 4f7c267cb6
3 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
/php-phpstan-phpdoc-parser-2.1.0-9b30d6f.tgz
/php-phpstan-phpdoc-parser-2.2.0-b9e61a6.tgz
/php-phpstan-phpdoc-parser-2.3.0-1e0cd53.tgz
/php-phpstan-phpdoc-parser-2.3.1-16dbf99.tgz

View file

@ -1,6 +1,6 @@
# remirepo/Fedora spec file for php-phpstan-phpdoc-parser
#
# SPDX-FileCopyrightText: Copyright 2024-2025 Remi Collet
# SPDX-FileCopyrightText: Copyright 2024-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
@ -9,7 +9,7 @@
%bcond_without tests
%global gh_commit 1e0cd5370df5dd2e556a36b9c62f62e555870495
%global gh_commit 16dbf9937da8d4528ceb2145c9c7c0bd29e26374
%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.3.0
Version: 2.3.1
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 php85; do
for cmdarg in "php %{phpunit}" 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
* Mon Jan 12 2026 Remi Collet <remi@remirepo.net> - 2.3.1-1
- update to 2.3.1
* Mon Sep 1 2025 Remi Collet <remi@remirepo.net> - 2.3.0-1
- update to 2.3.0

View file

@ -1 +1 @@
SHA512 (php-phpstan-phpdoc-parser-2.3.0-1e0cd53.tgz) = 6fca0397ff88cdb55f5724daf81b29d5a818c30f3a353c8f4bd6d6e021f136241aa9e7c467e15603b2f50f857c7ef585b82ecd545e287c1a0a5ea89de6e07c09
SHA512 (php-phpstan-phpdoc-parser-2.3.1-16dbf99.tgz) = 2c7f1c44f6f03d3082e4af00790cb529626c099cac798ece173f3bbfcb17acf3198b3eb62791a025d2ef63ccad0d0031c98f38b4435288dcf122c3fc5560a383