summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/psr/http-factory
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/af_readability/vendor/psr/http-factory')
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/.gitignore2
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/.pullapprove.yml7
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/LICENSE21
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/README.md10
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/composer.json35
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php18
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/ResponseFactoryInterface.php18
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php24
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/StreamFactoryInterface.php45
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php34
-rw-r--r--plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php17
11 files changed, 0 insertions, 231 deletions
diff --git a/plugins/af_readability/vendor/psr/http-factory/.gitignore b/plugins/af_readability/vendor/psr/http-factory/.gitignore
deleted file mode 100644
index d8a7996ab..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-composer.lock
-vendor/
diff --git a/plugins/af_readability/vendor/psr/http-factory/.pullapprove.yml b/plugins/af_readability/vendor/psr/http-factory/.pullapprove.yml
deleted file mode 100644
index 8cf081942..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/.pullapprove.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-extends: default
-reviewers:
- -
- name: contributors
- required: 1
- teams:
- - http-factory-contributors
diff --git a/plugins/af_readability/vendor/psr/http-factory/LICENSE b/plugins/af_readability/vendor/psr/http-factory/LICENSE
deleted file mode 100644
index 3f1559b2a..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2018 PHP-FIG
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/plugins/af_readability/vendor/psr/http-factory/README.md b/plugins/af_readability/vendor/psr/http-factory/README.md
deleted file mode 100644
index 41d362a62..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/README.md
+++ /dev/null
@@ -1,10 +0,0 @@
-HTTP Factories
-==============
-
-This repository holds all interfaces related to [PSR-17 (HTTP Message Factories)][psr-17].
-Please refer to the specification for a description.
-
-You can find implementations of the specification by looking for packages providing the
-[psr/http-factory-implementation](https://packagist.org/providers/psr/http-factory-implementation) virtual package.
-
-[psr-17]: https://www.php-fig.org/psr/psr-17/
diff --git a/plugins/af_readability/vendor/psr/http-factory/composer.json b/plugins/af_readability/vendor/psr/http-factory/composer.json
deleted file mode 100644
index af62b290f..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/composer.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "psr/http-factory",
- "description": "Common interfaces for PSR-7 HTTP message factories",
- "keywords": [
- "psr",
- "psr-7",
- "psr-17",
- "http",
- "factory",
- "message",
- "request",
- "response"
- ],
- "license": "MIT",
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "require": {
- "php": ">=7.0.0",
- "psr/http-message": "^1.0"
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- }
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
deleted file mode 100644
index cb39a08bf..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/RequestFactoryInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface RequestFactoryInterface
-{
- /**
- * Create a new request.
- *
- * @param string $method The HTTP method associated with the request.
- * @param UriInterface|string $uri The URI associated with the request. If
- * the value is a string, the factory MUST create a UriInterface
- * instance based on it.
- *
- * @return RequestInterface
- */
- public function createRequest(string $method, $uri): RequestInterface;
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/ResponseFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/ResponseFactoryInterface.php
deleted file mode 100644
index 212562f00..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/ResponseFactoryInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface ResponseFactoryInterface
-{
- /**
- * Create a new response.
- *
- * @param int $code HTTP status code; defaults to 200
- * @param string $reasonPhrase Reason phrase to associate with status code
- * in generated response; if none is provided implementations MAY use
- * the defaults as suggested in the HTTP specification.
- *
- * @return ResponseInterface
- */
- public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface;
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
deleted file mode 100644
index 9fe031a8f..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface ServerRequestFactoryInterface
-{
- /**
- * Create a new server request.
- *
- * Note that server-params are taken precisely as given - no parsing/processing
- * of the given values is performed, and, in particular, no attempt is made to
- * determine the HTTP method or URI, which must be provided explicitly.
- *
- * @param string $method The HTTP method associated with the request.
- * @param UriInterface|string $uri The URI associated with the request. If
- * the value is a string, the factory MUST create a UriInterface
- * instance based on it.
- * @param array $serverParams Array of SAPI parameters with which to seed
- * the generated request instance.
- *
- * @return ServerRequestInterface
- */
- public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface;
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/StreamFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/StreamFactoryInterface.php
deleted file mode 100644
index 90e3240c4..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/StreamFactoryInterface.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface StreamFactoryInterface
-{
- /**
- * Create a new stream from a string.
- *
- * The stream SHOULD be created with a temporary resource.
- *
- * @param string $content String content with which to populate the stream.
- *
- * @return StreamInterface
- */
- public function createStream(string $content = ''): StreamInterface;
-
- /**
- * Create a stream from an existing file.
- *
- * The file MUST be opened using the given mode, which may be any mode
- * supported by the `fopen` function.
- *
- * The `$filename` MAY be any string supported by `fopen()`.
- *
- * @param string $filename Filename or stream URI to use as basis of stream.
- * @param string $mode Mode with which to open the underlying filename/stream.
- *
- * @return StreamInterface
- * @throws \RuntimeException If the file cannot be opened.
- * @throws \InvalidArgumentException If the mode is invalid.
- */
- public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface;
-
- /**
- * Create a new stream from an existing resource.
- *
- * The stream MUST be readable and may be writable.
- *
- * @param resource $resource PHP resource to use as basis of stream.
- *
- * @return StreamInterface
- */
- public function createStreamFromResource($resource): StreamInterface;
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
deleted file mode 100644
index 7db4e30af..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface UploadedFileFactoryInterface
-{
- /**
- * Create a new uploaded file.
- *
- * If a size is not provided it will be determined by checking the size of
- * the file.
- *
- * @see http://php.net/manual/features.file-upload.post-method.php
- * @see http://php.net/manual/features.file-upload.errors.php
- *
- * @param StreamInterface $stream Underlying stream representing the
- * uploaded file content.
- * @param int $size in bytes
- * @param int $error PHP file upload error
- * @param string $clientFilename Filename as provided by the client, if any.
- * @param string $clientMediaType Media type as provided by the client, if any.
- *
- * @return UploadedFileInterface
- *
- * @throws \InvalidArgumentException If the file resource is not readable.
- */
- public function createUploadedFile(
- StreamInterface $stream,
- int $size = null,
- int $error = \UPLOAD_ERR_OK,
- string $clientFilename = null,
- string $clientMediaType = null
- ): UploadedFileInterface;
-}
diff --git a/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php b/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php
deleted file mode 100644
index 06df0b46a..000000000
--- a/plugins/af_readability/vendor/psr/http-factory/src/UriFactoryInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-namespace Psr\Http\Message;
-
-interface UriFactoryInterface
-{
- /**
- * Create a new URI.
- *
- * @param string $uri
- *
- * @return UriInterface
- *
- * @throws \InvalidArgumentException If the given URI cannot be parsed.
- */
- public function createUri(string $uri = ''): UriInterface;
-}