From d2a9a914c10c1380453de940bdbee53b93cea557 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Sep 2018 07:02:00 +0200 Subject: v0.5.0 --- PHPINFO | 15 +++++ REFLECTION | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++- php-pecl-psr.spec | 7 ++- 3 files changed, 197 insertions(+), 4 deletions(-) create mode 100644 PHPINFO diff --git a/PHPINFO b/PHPINFO new file mode 100644 index 0000000..fa12617 --- /dev/null +++ b/PHPINFO @@ -0,0 +1,15 @@ + +psr + +Version => 0.5.0 +Released => 2018-09-10 +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-15 HTTP Handlers (Server Handler) => 1.0.0 +PSR-15 HTTP Handlers (Middleware) => 1.0.0 +PSR-16 Simple Cache Version => 1.0.0 +PSR-17 HTTP Factories => 1.0.0 diff --git a/REFLECTION b/REFLECTION index a88e44f..b20dc00 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,10 +1,10 @@ -Extension [ extension #123 psr version 0.4.0 ] { +Extension [ extension #126 psr version 0.5.0 ] { - Dependencies { Dependency [ spl (Required) ] } - - Classes [31] { + - Classes [37] { Interface [ interface Psr\Cache\CacheException ] { - Constants [0] { @@ -1819,6 +1819,181 @@ Extension [ extension #123 psr version 0.4.0 ] { } } } + + Interface [ interface Psr\Http\Message\RequestFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method createRequest ] { + + - Parameters [2] { + Parameter #0 [ string $method ] + Parameter #1 [ $uri ] + } + - Return [ Psr\Http\Message\RequestInterface ] + } + } + } + + Interface [ interface Psr\Http\Message\ResponseFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method createResponse ] { + + - Parameters [2] { + Parameter #0 [ integer $code ] + Parameter #1 [ string $reasonPhrase ] + } + - Return [ Psr\Http\Message\ResponseInterface ] + } + } + } + + Interface [ interface Psr\Http\Message\ServerRequestFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method createServerRequest ] { + + - Parameters [3] { + Parameter #0 [ string $method ] + Parameter #1 [ $uri ] + Parameter #2 [ array $serverParams ] + } + - Return [ Psr\Http\Message\ServerRequestInterface ] + } + } + } + + Interface [ interface Psr\Http\Message\StreamFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ abstract public method createStream ] { + + - Parameters [1] { + Parameter #0 [ string $content ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + + Method [ abstract public method createStreamFromFile ] { + + - Parameters [2] { + Parameter #0 [ string $filename ] + Parameter #1 [ string $mode ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + + Method [ abstract public method createStreamFromResource ] { + + - Parameters [1] { + Parameter #0 [ $resouce ] + } + - Return [ Psr\Http\Message\StreamInterface ] + } + } + } + + Interface [ interface Psr\Http\Message\UploadedFileFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method createUploadedFile ] { + + - Parameters [5] { + Parameter #0 [ Psr\Http\Message\StreamInterface $stream ] + Parameter #1 [ integer or NULL $size ] + Parameter #2 [ integer $error ] + Parameter #3 [ string or NULL $clientFilename ] + Parameter #4 [ string or NULL $clientMediaType ] + } + - Return [ Psr\Http\Message\UploadedFileInterface ] + } + } + } + + Interface [ interface Psr\Http\Message\UriFactoryInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method createUri ] { + + - Parameters [1] { + Parameter #0 [ string $uri ] + } + - Return [ Psr\Http\Message\UriInterface ] + } + } + } } } diff --git a/php-pecl-psr.spec b/php-pecl-psr.spec index c6c99cf..04bb517 100644 --- a/php-pecl-psr.spec +++ b/php-pecl-psr.spec @@ -23,13 +23,13 @@ %else %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 0.4.0 +%global upstream_version 0.5.0 #global upstream_prever RC4 Summary: PSR interfaces Name: %{?sub_prefix}php-pecl-psr Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz License: BSD URL: http://pecl.php.net/package/psr @@ -258,6 +258,9 @@ fi %changelog +* Tue Sep 11 2018 Remi Collet - 0.5.0-1 +- update to 0.5.0 + * Thu Aug 16 2018 Remi Collet - 0.4.0-4 - rebuild for 7.3.0beta2 new ABI -- cgit