From 7156a7fbbac43c79d8ab753daa402ca59fde3464 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Oct 2020 16:29:19 +0200 Subject: update to 2.3.0 --- composer.json | 2 +- php-sebastian-type2.spec | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index c8d9720..b02d8e9 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } } } diff --git a/php-sebastian-type2.spec b/php-sebastian-type2.spec index 1feb47c..4c240b7 100644 --- a/php-sebastian-type2.spec +++ b/php-sebastian-type2.spec @@ -10,7 +10,7 @@ %bcond_without tests # github -%global gh_commit e494dcaeb89d1458c9ccd8c819745245a1669aea +%global gh_commit fa592377f3923946cb90bf1f6a71ba2e5f229909 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project type @@ -24,7 +24,7 @@ %global ns_project Type Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.2.2 +Version: 2.3.0 Release: 1%{?dist} Summary: Collection of value objects that represent the types of the PHP type system, version %{major} @@ -88,10 +88,14 @@ EOF : Run upstream test suite ret=0 +# TODO php80 - testMapsFromMethodUnionWithStaticReturnType +# A union type must be composed of at least two types (fix in RC2) for cmd in php php73 php74 php80; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit9 --verbose || ret=1 + %{_bindir}/phpunit9 \ + --filter '^((?!(testMapsFromMethodUnionWithStaticReturnType)).)*$' \ + --verbose || ret=1 fi done exit $ret @@ -111,6 +115,9 @@ exit $ret %changelog +* Tue Oct 6 2020 Remi Collet - 2.3.0-1 +- update to 2.3.0 + * Mon Sep 28 2020 Remi Collet - 2.2.2-1 - update to 2.2.2 (no change) -- cgit