From 15e2e86f7f132b69c12a80e3340c055247838b5b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Oct 2021 10:18:26 +0200 Subject: [PATCH] v5.3.0 --- .gitignore | 1 + composer.json | 42 +++++++++++++++++++++ php-phpdocumentor-reflection-docblock5.spec | 21 +++++------ sources | 2 +- 4 files changed, 54 insertions(+), 12 deletions(-) create mode 100644 composer.json diff --git a/.gitignore b/.gitignore index 62e93d9..837d5e4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /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 diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..d907630 --- /dev/null +++ b/composer.json @@ -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" + } + } +} diff --git a/php-phpdocumentor-reflection-docblock5.spec b/php-phpdocumentor-reflection-docblock5.spec index 114fdfb..818cfc0 100644 --- a/php-phpdocumentor-reflection-docblock5.spec +++ b/php-phpdocumentor-reflection-docblock5.spec @@ -8,7 +8,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 069a785b2141f5bcf49f3e353548dc1cce6df556 +%global gh_commit 622548b623e81ca6d78b721c5e029f4ce664f170 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpDocumentor %global gh_project ReflectionDocBlock @@ -16,8 +16,8 @@ %bcond_without tests Name: php-phpdocumentor-reflection-docblock%{major} -Version: 5.2.2 -Release: 3%{?dist} +Version: 5.3.0 +Release: 1%{?dist} Summary: DocBlock parser License: MIT @@ -37,14 +37,10 @@ BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.3 with php- 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) # From composer.json, require-dev -# "mockery/mockery": "~1.3.2" -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9 +# "mockery/mockery": "~1.3.2", +# "psalm/phar": "^4.8" BuildRequires: phpunit9 %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) # From phpcompatinfo report for 5.0.0 BuildRequires: php-reflection @@ -122,7 +118,7 @@ sed -e '/autoload.php/d' -i examples/*.php examples/*/*.php phpab \ --template fedora \ --output bootstrap.php \ - tests/unit/ + tests/unit tests/integration cat < - 5.3.0-1 +- update to 5.3.0 + * Fri Jul 23 2021 Fedora Release Engineering - 5.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index cd09f34..8cbbc60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz) = c6e0a326b821e09852eaf3e11011aa1fab2a7705b7f1194f9b0453575f59f1aac83d71cc4681c854c4f306fdeb2a3d3c3d67fd46fc5122c10a64a0d5b22a1157 +SHA512 (php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz) = 271a65d82506c6fe76dffcff5132f86adcb6843744a734d7ca4d44714af702f24fc545e5786cd3700ca36e6fc1e1d7209a5d1a1bad1a51dcae2850ec39e4c4eb