summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-13 08:48:53 +0200
committerRemi Collet <remi@remirepo.net>2019-08-13 08:48:53 +0200
commit2c4f49d51bc5068b20590829bf36644fd0ef1606 (patch)
tree6b37fddfcb7cdca7703e5749f70518b85aa9434c
parent5a03c0adc763cde33657e842a50d134a3700a461 (diff)
- update to 0.7.0HEADmaster
- raise minimal PHP version to 7.0
-rw-r--r--PHPINFO5
-rw-r--r--REFLECTION81
-rw-r--r--php-pecl-psr.spec16
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 <jbboehr@gmail.com> (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 [ <persistent> extension #129 psr version 0.6.1 ] {
+Extension [ <persistent> extension #132 psr version 0.7.0 ] {
- Dependencies {
Dependency [ spl (Required) ]
}
- - Classes [41] {
+ - Classes [44] {
Interface [ <internal:psr> interface Psr\Cache\CacheException ] {
- Constants [0] {
@@ -385,7 +385,7 @@ Extension [ <persistent> extension #129 psr version 0.6.1 ] {
Method [ <internal:psr> abstract public method withUri ] {
- Parameters [2] {
- Parameter #0 [ <required> Psr\Http\Message\UriInterface $logger ]
+ Parameter #0 [ <required> Psr\Http\Message\UriInterface $uri ]
Parameter #1 [ <optional> $preserveHost ]
}
}
@@ -718,7 +718,7 @@ Extension [ <persistent> extension #129 psr version 0.6.1 ] {
Method [ <internal:psr, inherits Psr\Http\Message\RequestInterface> abstract public method withUri ] {
- Parameters [2] {
- Parameter #0 [ <required> Psr\Http\Message\UriInterface $logger ]
+ Parameter #0 [ <required> Psr\Http\Message\UriInterface $uri ]
Parameter #1 [ <optional> $preserveHost ]
}
}
@@ -2272,6 +2272,79 @@ Extension [ <persistent> extension #129 psr version 0.6.1 ] {
}
}
}
+
+ Interface [ <internal:psr> interface Psr\EventDispatcher\EventDispatcherInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [1] {
+ Method [ <internal:psr> abstract public method dispatch ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> object $event ]
+ }
+ }
+ }
+ }
+
+ Interface [ <internal:psr> interface Psr\EventDispatcher\ListenerProviderInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [1] {
+ Method [ <internal:psr> abstract public method getListenersForEvent ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> object $event ]
+ }
+ - Return [ iterable ]
+ }
+ }
+ }
+
+ Interface [ <internal:psr> interface Psr\EventDispatcher\StoppableEventInterface ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [1] {
+ Method [ <internal:psr> 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 <remi@remirepo.net> - 0.7.0-1
+- update to 0.7.0
+- raise minimal PHP version to 7.0
+
* Tue Nov 13 2018 Remi Collet <remi@remirepo.net> - 0.6.1-1
- update to 0.6.1 (no change)