forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: faxsms psr7 vendor fix (openemr#7794)
- Loading branch information
1 parent
87d19fa
commit a0cd2bd
Showing
28 changed files
with
0 additions
and
1,849 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
...tom_modules/oe-module-faxsms/vendor/psr/event-dispatcher/src/EventDispatcherInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +0,0 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Psr\EventDispatcher; | ||
|
||
/** | ||
* Defines a dispatcher for events. | ||
*/ | ||
interface EventDispatcherInterface | ||
{ | ||
/** | ||
* Provide all relevant listeners with an event to process. | ||
* | ||
* @param object $event | ||
* The object to process. | ||
* | ||
* @return object | ||
* The Event that was passed, now modified by listeners. | ||
*/ | ||
public function dispatch(object $event); | ||
} | ||
19 changes: 0 additions & 19 deletions
19
...om_modules/oe-module-faxsms/vendor/psr/event-dispatcher/src/ListenerProviderInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +0,0 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Psr\EventDispatcher; | ||
|
||
/** | ||
* Mapper from an event to the listeners that are applicable to that event. | ||
*/ | ||
interface ListenerProviderInterface | ||
{ | ||
/** | ||
* @param object $event | ||
* An event for which to return the relevant listeners. | ||
* @return iterable[callable] | ||
* An iterable (array, iterator, or generator) of callables. Each | ||
* callable MUST be type-compatible with $event. | ||
*/ | ||
public function getListenersForEvent(object $event) : iterable; | ||
} | ||
26 changes: 0 additions & 26 deletions
26
...stom_modules/oe-module-faxsms/vendor/psr/event-dispatcher/src/StoppableEventInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +0,0 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Psr\EventDispatcher; | ||
|
||
/** | ||
* An Event whose processing may be interrupted when the event has been handled. | ||
* | ||
* A Dispatcher implementation MUST check to determine if an Event | ||
* is marked as stopped after each listener is called. If it is then it should | ||
* return immediately without calling any further Listeners. | ||
*/ | ||
interface StoppableEventInterface | ||
{ | ||
/** | ||
* Is propagation stopped? | ||
* | ||
* This will typically only be used by the Dispatcher to determine if the | ||
* previous listener halted propagation. | ||
* | ||
* @return bool | ||
* True if the Event is complete and no further listeners should be called. | ||
* False to continue calling listeners. | ||
*/ | ||
public function isPropagationStopped() : bool; | ||
} | ||
10 changes: 0 additions & 10 deletions
10
...s/custom_modules/oe-module-faxsms/vendor/psr/http-client/src/ClientExceptionInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
<?php | ||
|
||
namespace Psr\Http\Client; | ||
|
||
/** | ||
* Every HTTP client related exception MUST implement this interface. | ||
*/ | ||
interface ClientExceptionInterface extends \Throwable | ||
{ | ||
} | ||
20 changes: 0 additions & 20 deletions
20
...ce/modules/custom_modules/oe-module-faxsms/vendor/psr/http-client/src/ClientInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +0,0 @@ | ||
<?php | ||
|
||
namespace Psr\Http\Client; | ||
|
||
use Psr\Http\Message\RequestInterface; | ||
use Psr\Http\Message\ResponseInterface; | ||
|
||
interface ClientInterface | ||
{ | ||
/** | ||
* Sends a PSR-7 request and returns a PSR-7 response. | ||
* | ||
* @param RequestInterface $request | ||
* | ||
* @return ResponseInterface | ||
* | ||
* @throws \Psr\Http\Client\ClientExceptionInterface If an error happens while processing the request. | ||
*/ | ||
public function sendRequest(RequestInterface $request): ResponseInterface; | ||
} | ||
24 changes: 0 additions & 24 deletions
24
.../custom_modules/oe-module-faxsms/vendor/psr/http-client/src/NetworkExceptionInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +0,0 @@ | ||
<?php | ||
|
||
namespace Psr\Http\Client; | ||
|
||
use Psr\Http\Message\RequestInterface; | ||
|
||
/** | ||
* Thrown when the request cannot be completed because of network issues. | ||
* | ||
* There is no response object as this exception is thrown when no response has been received. | ||
* | ||
* Example: the target host name can not be resolved or the connection failed. | ||
*/ | ||
interface NetworkExceptionInterface extends ClientExceptionInterface | ||
{ | ||
/** | ||
* Returns the request. | ||
* | ||
* The request object MAY be a different object from the one passed to ClientInterface::sendRequest() | ||
* | ||
* @return RequestInterface | ||
*/ | ||
public function getRequest(): RequestInterface; | ||
} | ||
24 changes: 0 additions & 24 deletions
24
.../custom_modules/oe-module-faxsms/vendor/psr/http-client/src/RequestExceptionInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +0,0 @@ | ||
<?php | ||
|
||
namespace Psr\Http\Client; | ||
|
||
use Psr\Http\Message\RequestInterface; | ||
|
||
/** | ||
* Exception for when a request failed. | ||
* | ||
* Examples: | ||
* - Request is invalid (e.g. method is missing) | ||
* - Runtime request errors (e.g. the body stream is not seekable) | ||
*/ | ||
interface RequestExceptionInterface extends ClientExceptionInterface | ||
{ | ||
/** | ||
* Returns the request. | ||
* | ||
* The request object MAY be a different object from the one passed to ClientInterface::sendRequest() | ||
* | ||
* @return RequestInterface | ||
*/ | ||
public function getRequest(): RequestInterface; | ||
} | ||
18 changes: 0 additions & 18 deletions
18
...s/custom_modules/oe-module-faxsms/vendor/psr/http-factory/src/RequestFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
18 changes: 0 additions & 18 deletions
18
.../custom_modules/oe-module-faxsms/vendor/psr/http-factory/src/ResponseFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
24 changes: 0 additions & 24 deletions
24
...om_modules/oe-module-faxsms/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
45 changes: 0 additions & 45 deletions
45
...es/custom_modules/oe-module-faxsms/vendor/psr/http-factory/src/StreamFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
34 changes: 0 additions & 34 deletions
34
...tom_modules/oe-module-faxsms/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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|null $size in bytes | ||
* @param int $error PHP file upload error | ||
* @param string|null $clientFilename Filename as provided by the client, if any. | ||
* @param string|null $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; | ||
} | ||
17 changes: 0 additions & 17 deletions
17
...dules/custom_modules/oe-module-faxsms/vendor/psr/http-factory/src/UriFactoryInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
Oops, something went wrong.