Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d4096749e | ||
|
|
04f8a36f7b | ||
|
|
7f4cb76ffb | ||
|
|
3efbcaf286 | ||
|
|
f7fddf9143 | ||
|
|
916fe81a17 | ||
|
|
6395cd6c67 | ||
|
|
c52a580627 | ||
|
|
e01ff6329d | ||
|
|
d6770b59c2 | ||
|
|
74d5d4de96 | ||
|
|
2f76c69a9d | ||
|
|
8668040b4e | ||
|
|
12b8148403 | ||
|
|
9925e2aca9 | ||
|
|
27ac9b0c10 | ||
|
|
1b6caa5f38 | ||
|
|
15e2e86f7f | ||
|
|
a911cae25a |
4 changed files with 156 additions and 32 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -2,3 +2,10 @@
|
|||
/php-phpdocumentor-reflection-docblock5-5.2.0-3170448.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.2.1-d870572.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.1-e5e7841.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.2-92dde6a.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.3-94f8051.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.4-90a04bc.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.5-90614c7.tar.gz
|
||||
/php-phpdocumentor-reflection-docblock5-5.6.6-5cee1d3.tar.gz
|
||||
|
|
|
|||
42
composer.json
Normal file
42
composer.json
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"name": "phpdocumentor/reflection-docblock",
|
||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mike van Riel",
|
||||
"email": "me@mikevanriel.com"
|
||||
},
|
||||
{
|
||||
"name": "Jaap van Otterdijk",
|
||||
"email": "account@ijaap.nl"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2 || ^8.0",
|
||||
"phpdocumentor/type-resolver": "^1.3",
|
||||
"webmozart/assert": "^1.9.1",
|
||||
"phpdocumentor/reflection-common": "^2.2",
|
||||
"ext-filter": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "~1.3.2",
|
||||
"psalm/phar": "^4.8"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"phpDocumentor\\Reflection\\": ["tests/unit", "tests/integration"]
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "5.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +1,12 @@
|
|||
# Fedora/remirepo spec file for php-phpdocumentor-reflection-docblock5
|
||||
#
|
||||
# Copyright (c) 2017-2020 Remi Collet, Shawn Iwinski
|
||||
# 2014-2015 Remi Collet
|
||||
#
|
||||
# License: CC-BY-SA
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet
|
||||
# SPDX-License-Identifier: CECILL-2.1
|
||||
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||
#
|
||||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global gh_commit 069a785b2141f5bcf49f3e353548dc1cce6df556
|
||||
%global gh_commit 5cee1d3dfc2d2aa6599834520911d246f656bcb8
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner phpDocumentor
|
||||
%global gh_project ReflectionDocBlock
|
||||
|
|
@ -16,8 +14,8 @@
|
|||
%bcond_without tests
|
||||
|
||||
Name: php-phpdocumentor-reflection-docblock%{major}
|
||||
Version: 5.2.2
|
||||
Release: 2%{?dist}
|
||||
Version: 5.6.6
|
||||
Release: 1%{?dist}
|
||||
Summary: DocBlock parser
|
||||
|
||||
License: MIT
|
||||
|
|
@ -31,21 +29,24 @@ Source1: makesrc.sh
|
|||
BuildArch: noarch
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: php(language) >= 7.2
|
||||
BuildRequires: php(language) >= 7.4
|
||||
BuildRequires: php-filter
|
||||
BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.3 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(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) < 3)
|
||||
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) < 3)
|
||||
BuildRequires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
|
||||
# From composer.json, require-dev
|
||||
# "mockery/mockery": "~1.3.2"
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9
|
||||
BuildRequires: phpunit9
|
||||
# "mockery/mockery": "~1.3.5 || ~1.6.0",
|
||||
# "phpunit/phpunit": "^9.5",
|
||||
# "phpstan/phpstan": "^1.8",
|
||||
# "phpstan/phpstan-mockery": "^1.1",
|
||||
# "phpstan/extension-installer": "^1.1",
|
||||
# "phpstan/phpstan-webmozart-assert": "^1.2",
|
||||
# "psalm/phar": "^5.26"
|
||||
BuildRequires: phpunit9 >= 9.5
|
||||
%global phpunit %{_bindir}/phpunit9
|
||||
%else
|
||||
BuildRequires: phpunit8
|
||||
%global phpunit %{_bindir}/phpunit8
|
||||
%endif
|
||||
BuildRequires: (php-composer(mockery/mockery) >= 1.3.2 with php-composer(mockery/mockery) < 2)
|
||||
BuildRequires: (php-composer(mockery/mockery) >= 1.6 with php-composer(mockery/mockery) < 2)
|
||||
# From phpcompatinfo report for 5.0.0
|
||||
BuildRequires: php-reflection
|
||||
BuildRequires: php-pcre
|
||||
|
|
@ -53,16 +54,20 @@ BuildRequires: php-spl
|
|||
%endif
|
||||
|
||||
# From composer.json, require
|
||||
# "php": "^7.2 || ^8.0",
|
||||
# "phpdocumentor/type-resolver": "^1.3",
|
||||
# "webmozart/assert": "^1.9.1",
|
||||
# "php": "^7.4 || ^8.0",
|
||||
# "phpdocumentor/type-resolver": "^1.7",
|
||||
# "webmozart/assert": "^1.9.1 || ^2",
|
||||
# "phpdocumentor/reflection-common": "^2.2",
|
||||
# "ext-filter": "*"
|
||||
Requires: php(language) >= 7.2
|
||||
# "ext-filter": "*",
|
||||
# "phpstan/phpdoc-parser": "^1.7|^2.0",
|
||||
# "doctrine/deprecations": "^1.1"
|
||||
Requires: php(language) >= 7.4
|
||||
Requires: php-filter
|
||||
Requires: (php-composer(phpdocumentor/type-resolver) >= 1.3 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/type-resolver) >= 1.7 with php-composer(phpdocumentor/type-resolver) < 2)
|
||||
Requires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 3)
|
||||
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) < 3)
|
||||
Requires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
|
||||
# From phpcompatinfo report for 4.3.2
|
||||
Requires: php-reflection
|
||||
Requires: php-pcre
|
||||
|
|
@ -100,12 +105,21 @@ phpab \
|
|||
--output src/DocBlock/autoload.php \
|
||||
src/
|
||||
|
||||
cat <<AUTOLOAD | tee -a src/DocBlock/autoload.php
|
||||
cat << 'AUTOLOAD' | tee -a src/DocBlock/autoload.php
|
||||
|
||||
$deps = [
|
||||
'%{_datadir}/php/Webmozart/Assert/autoload.php',
|
||||
];
|
||||
if (PHP_VERSION_ID > 80200) {
|
||||
array_unshift($deps, '%{_datadir}/php/Webmozart/Assert2/autoload.php');
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'%{_datadir}/php/phpDocumentor/Reflection2/autoload-common.php',
|
||||
'%{_datadir}/php/phpDocumentor/Reflection2/autoload-type-resolver.php',
|
||||
'%{_datadir}/php/Webmozart/Assert/autoload.php',
|
||||
$deps,
|
||||
'%{_datadir}/php/PHPStan/PhpDocParser/autoload.php',
|
||||
'%{_datadir}/php/Doctrine/Deprecations/autoload.php',
|
||||
]);
|
||||
AUTOLOAD
|
||||
|
||||
|
|
@ -122,7 +136,7 @@ sed -e '/autoload.php/d' -i examples/*.php examples/*/*.php
|
|||
phpab \
|
||||
--template fedora \
|
||||
--output bootstrap.php \
|
||||
tests/unit/
|
||||
tests/unit tests/integration
|
||||
|
||||
cat <<BOOTSTRAP | tee -a bootstrap.php
|
||||
|
||||
|
|
@ -133,12 +147,13 @@ cat <<BOOTSTRAP | tee -a bootstrap.php
|
|||
BOOTSTRAP
|
||||
|
||||
RETURN_CODE=0
|
||||
for PHP_EXEC in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do
|
||||
for PHP_EXEC in "php %{phpunit}" php81 php82 php83 php84 php85; do
|
||||
if which $PHP_EXEC; then
|
||||
set $PHP_EXEC
|
||||
$1 -d auto_prepend_file=$PWD/bootstrap.php \
|
||||
${2:-%{_bindir}/phpunit9} \
|
||||
--bootstrap bootstrap.php \
|
||||
--filter '^((?!(testAddingAKeyword|testRegressionWordpressDocblocks|testIndentationIsKept)).)*$' \
|
||||
--verbose || RETURN_CODE=1
|
||||
fi
|
||||
done
|
||||
|
|
@ -157,6 +172,66 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 25 2025 Remi Collet <remi@remirepo.net> - 5.6.6-1
|
||||
- update to 5.6.6
|
||||
- allow webmozart/assert version 2
|
||||
|
||||
* Fri Nov 28 2025 Remi Collet <remi@remirepo.net> - 5.6.5-1
|
||||
- update to 5.6.5
|
||||
|
||||
* Wed Nov 19 2025 Remi Collet <remi@remirepo.net> - 5.6.4-1
|
||||
- update to 5.6.4
|
||||
|
||||
* Thu Aug 28 2025 Remi Collet <remi@remirepo.net> - 5.6.3-1
|
||||
- update to 5.6.3
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Mon Apr 14 2025 Remi Collet <remi@remirepo.net> - 5.6.2-1
|
||||
- update to 5.6.2
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
- raise dependency on PHP 7.4
|
||||
- raise dependency on phpdocumentor/type-resolver 1.7
|
||||
- add dependency on phpstan/phpdoc-parser
|
||||
- add dependency on doctrine/deprecations
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Oct 20 2021 Remi Collet <remi@remirepo.net> - 5.3.0-1
|
||||
- update to 5.3.0
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz) = c6e0a326b821e09852eaf3e11011aa1fab2a7705b7f1194f9b0453575f59f1aac83d71cc4681c854c4f306fdeb2a3d3c3d67fd46fc5122c10a64a0d5b22a1157
|
||||
SHA512 (php-phpdocumentor-reflection-docblock5-5.6.6-5cee1d3.tar.gz) = e3583fd8d8a6e876909e56c7b040fe5d2f140b2b2aa19cd30bf74997b263dfd74a55a8cfafcc306fde831fc069700ce060d239c43c51f5446cd24d78a5af66d3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue