From 13d4a2c242d7efe9e8dde76aa315c5409c60ce4d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 May 2023 15:56:33 +0200 Subject: update to 1.21.0 --- composer.json | 1 + php-phpstan-phpdoc-parser.spec | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 3b902ae..30b879b 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,7 @@ "php": "^7.2 || ^8.0" }, "require-dev": { + "nikic/php-parser": "^4.15", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^1.5", diff --git a/php-phpstan-phpdoc-parser.spec b/php-phpstan-phpdoc-parser.spec index a38eb17..bfa0425 100644 --- a/php-phpstan-phpdoc-parser.spec +++ b/php-phpstan-phpdoc-parser.spec @@ -9,7 +9,7 @@ %bcond_without tests -%global gh_commit 7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd +%global gh_commit 6df62b08faef4f899772bc7c3bbabb93d2b7a21c %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: 1.20.4 +Version: 1.21.0 Release: 1%{?dist} Summary: PHPDoc parser with support for nullable, intersection and generic types @@ -36,6 +36,7 @@ BuildRequires: php(language) >= 7.2 BuildRequires: php-json BuildRequires: php-pcre # From composer, "require-dev": { +# "nikic/php-parser": "^4.15", # "php-parallel-lint/php-parallel-lint": "^1.2", # "phpstan/extension-installer": "^1.0", # "phpstan/phpstan": "^1.5", @@ -82,13 +83,17 @@ cp -pr src %{buildroot}%{php_home}/%{namespace}/%{library}%{major} %check %if %{with tests} mkdir vendor -phpab --template fedora --output vendor/autoload.php tests +cat << 'EOF' | tee vendor/autoload.php + - 1.21.0-1 +- update to 1.21.0 + * Wed May 3 2023 Remi Collet - 1.20.4-1 - update to 1.20.4 -- cgit