From 2c4f49d51bc5068b20590829bf36644fd0ef1606 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 Aug 2019 08:48:53 +0200 Subject: - update to 0.7.0 - raise minimal PHP version to 7.0 --- PHPINFO | 5 ++-- REFLECTION | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- php-pecl-psr.spec | 16 ++++++++--- 3 files changed, 92 insertions(+), 10 deletions(-) diff --git a/PHPINFO b/PHPINFO index 99885f0..c041a56 100644 --- a/PHPINFO +++ b/PHPINFO @@ -1,14 +1,15 @@ psr -Version => 0.6.1 -Released => 2018-11-13 +Version => 0.7.0 +Released => 2019-08-12 Authors => John Boehr (lead) PSR-3 Log Version => 1.0.0 PSR-6 Cache Version => 1.0.0 PSR-7 Http Message Version => 1.0.0 PSR-11 Container Version => 1.0.0 PSR-13 Link Version => 1.0.0 +PSR-14 Event Dispatcher => 1.0.0 PSR-15 HTTP Handlers (Server Handler) => 1.0.0 PSR-15 HTTP Handlers (Middleware) => 1.0.0 PSR-16 Simple Cache Version => 1.0.0 diff --git a/REFLECTION b/REFLECTION index e757e4c..e94b298 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,10 +1,10 @@ -Extension [ extension #129 psr version 0.6.1 ] { +Extension [ extension #132 psr version 0.7.0 ] { - Dependencies { Dependency [ spl (Required) ] } - - Classes [41] { + - Classes [44] { Interface [ interface Psr\Cache\CacheException ] { - Constants [0] { @@ -385,7 +385,7 @@ Extension [ extension #129 psr version 0.6.1 ] { Method [ abstract public method withUri ] { - Parameters [2] { - Parameter #0 [ Psr\Http\Message\UriInterface $logger ] + Parameter #0 [ Psr\Http\Message\UriInterface $uri ] Parameter #1 [ $preserveHost ] } } @@ -718,7 +718,7 @@ Extension [ extension #129 psr version 0.6.1 ] { Method [ abstract public method withUri ] { - Parameters [2] { - Parameter #0 [ Psr\Http\Message\UriInterface $logger ] + Parameter #0 [ Psr\Http\Message\UriInterface $uri ] Parameter #1 [ $preserveHost ] } } @@ -2272,6 +2272,79 @@ Extension [ extension #129 psr version 0.6.1 ] { } } } + + Interface [ interface Psr\EventDispatcher\EventDispatcherInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method dispatch ] { + + - Parameters [1] { + Parameter #0 [ object $event ] + } + } + } + } + + Interface [ interface Psr\EventDispatcher\ListenerProviderInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method getListenersForEvent ] { + + - Parameters [1] { + Parameter #0 [ object $event ] + } + - Return [ iterable ] + } + } + } + + Interface [ interface Psr\EventDispatcher\StoppableEventInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method isPropagationStopped ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + } + } } } diff --git a/php-pecl-psr.spec b/php-pecl-psr.spec index 1f089c2..9749f18 100644 --- a/php-pecl-psr.spec +++ b/php-pecl-psr.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-psr # -# Copyright (c) 2017-2018 Remi Collet +# Copyright (c) 2017-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,7 +19,7 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global with_tests 0%{!?_without_tests:1} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.6.1 +%global upstream_version 0.7.0 #global upstream_prever RC4 Summary: PSR interfaces @@ -31,7 +31,7 @@ License: BSD URL: http://pecl.php.net/package/psr BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 5.6 +BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -64,9 +64,13 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-pecl-%{pecl_name} <= %{version} +Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -251,6 +255,10 @@ fi %changelog +* Tue Aug 13 2019 Remi Collet - 0.7.0-1 +- update to 0.7.0 +- raise minimal PHP version to 7.0 + * Tue Nov 13 2018 Remi Collet - 0.6.1-1 - update to 0.6.1 (no change) -- cgit