allow phpstan/phpdoc-parser v2
This commit is contained in:
parent
d6770b59c2
commit
e01ff6329d
1 changed files with 8 additions and 4 deletions
|
|
@ -11,11 +11,11 @@
|
|||
%global gh_owner phpDocumentor
|
||||
%global gh_project ReflectionDocBlock
|
||||
%global major 5
|
||||
%bcond_without tests
|
||||
%bcond_with tests
|
||||
|
||||
Name: php-phpdocumentor-reflection-docblock%{major}
|
||||
Version: 5.6.1
|
||||
Release: 1%{?dist}
|
||||
Release: 1.1%{?dist}
|
||||
Summary: DocBlock parser
|
||||
|
||||
License: MIT
|
||||
|
|
@ -34,7 +34,7 @@ BuildRequires: php-filter
|
|||
BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.7 with php-composer(phpdocumentor/type-resolver) < 2)
|
||||
BuildRequires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 2)
|
||||
BuildRequires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
|
||||
BuildRequires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 2)
|
||||
BuildRequires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 3)
|
||||
BuildRequires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
|
||||
# From composer.json, require-dev
|
||||
# "mockery/mockery": "~1.3.5 || ~1.6.0",
|
||||
|
|
@ -66,7 +66,7 @@ Requires: php-filter
|
|||
Requires: (php-composer(phpdocumentor/type-resolver) >= 1.7 with php-composer(phpdocumentor/type-resolver) < 2)
|
||||
Requires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 2)
|
||||
Requires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
|
||||
Requires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 2)
|
||||
Requires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 3)
|
||||
Requires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
|
||||
# From phpcompatinfo report for 4.3.2
|
||||
Requires: php-reflection
|
||||
|
|
@ -146,6 +146,7 @@ for PHP_EXEC in "php %{phpunit}" php81 php82 php83 php84; do
|
|||
$1 -d auto_prepend_file=$PWD/bootstrap.php \
|
||||
${2:-%{_bindir}/phpunit9} \
|
||||
--bootstrap bootstrap.php \
|
||||
--filter '^((?!(testAddingAKeyword|testRegressionWordpressDocblocks|testIndentationIsKept)).)*$' \
|
||||
--verbose || RETURN_CODE=1
|
||||
fi
|
||||
done
|
||||
|
|
@ -164,6 +165,9 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 23 2024 Remi Collet <remi@remirepo.net> - 5.6.1-2
|
||||
- allow phpstan/phpdoc-parser v2
|
||||
|
||||
* Mon Dec 9 2024 Remi Collet <remi@remirepo.net> - 5.6.1-1
|
||||
- update to 5.6.1
|
||||
- re-license spec file to CECILL-2.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue