mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -7,6 +7,4 @@ namespace Stripe\Exception;
|
||||
* servers. That can be for a variety of different reasons from a downed
|
||||
* network to a bad TLS certificate.
|
||||
*/
|
||||
class ApiConnectionException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class ApiConnectionException extends ApiErrorException {}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception;
|
||||
* AuthenticationException is thrown when invalid credentials are used to
|
||||
* connect to Stripe's servers.
|
||||
*/
|
||||
class AuthenticationException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class AuthenticationException extends ApiErrorException {}
|
||||
|
||||
@@ -2,6 +2,4 @@
|
||||
|
||||
namespace Stripe\Exception;
|
||||
|
||||
class BadMethodCallException extends \BadMethodCallException implements ExceptionInterface
|
||||
{
|
||||
}
|
||||
class BadMethodCallException extends \BadMethodCallException implements ExceptionInterface {}
|
||||
|
||||
@@ -7,16 +7,12 @@ if (\interface_exists(\Throwable::class, false)) {
|
||||
/**
|
||||
* The base interface for all Stripe exceptions.
|
||||
*/
|
||||
interface ExceptionInterface extends \Throwable
|
||||
{
|
||||
}
|
||||
interface ExceptionInterface extends \Throwable {}
|
||||
} else {
|
||||
/**
|
||||
* The base interface for all Stripe exceptions.
|
||||
*/
|
||||
// phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses
|
||||
interface ExceptionInterface
|
||||
{
|
||||
}
|
||||
interface ExceptionInterface {}
|
||||
// phpcs:enable
|
||||
}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception;
|
||||
* IdempotencyException is thrown in cases where an idempotency key was used
|
||||
* improperly.
|
||||
*/
|
||||
class IdempotencyException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class IdempotencyException extends ApiErrorException {}
|
||||
|
||||
@@ -2,6 +2,4 @@
|
||||
|
||||
namespace Stripe\Exception;
|
||||
|
||||
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
|
||||
{
|
||||
}
|
||||
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface {}
|
||||
|
||||
@@ -5,6 +5,4 @@ namespace Stripe\Exception\OAuth;
|
||||
/**
|
||||
* The base interface for all Stripe OAuth exceptions.
|
||||
*/
|
||||
interface ExceptionInterface extends \Stripe\Exception\ExceptionInterface
|
||||
{
|
||||
}
|
||||
interface ExceptionInterface extends \Stripe\Exception\ExceptionInterface {}
|
||||
|
||||
@@ -7,6 +7,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* the stripe_user_id does not exist or is not connected to your application,
|
||||
* or the API key mode (live or test mode) does not match the client_id mode.
|
||||
*/
|
||||
class InvalidClientException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class InvalidClientException extends OAuthErrorException {}
|
||||
|
||||
@@ -8,6 +8,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* exist, or doesn't belong to you; or if an API key's mode (live or test)
|
||||
* doesn't match the mode of a code or refresh token.
|
||||
*/
|
||||
class InvalidGrantException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class InvalidGrantException extends OAuthErrorException {}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* InvalidRequestException is thrown when a code, refresh token, or grant
|
||||
* type parameter is not provided, but was required.
|
||||
*/
|
||||
class InvalidRequestException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class InvalidRequestException extends OAuthErrorException {}
|
||||
|
||||
@@ -5,6 +5,4 @@ namespace Stripe\Exception\OAuth;
|
||||
/**
|
||||
* InvalidScopeException is thrown when an invalid scope parameter is provided.
|
||||
*/
|
||||
class InvalidScopeException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class InvalidScopeException extends OAuthErrorException {}
|
||||
|
||||
@@ -7,6 +7,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* error from the OAuth API it doesn't know about. Receiving this error usually
|
||||
* means that your client library is outdated and should be upgraded.
|
||||
*/
|
||||
class UnknownOAuthErrorException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class UnknownOAuthErrorException extends OAuthErrorException {}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* UnsupportedGrantTypeException is thrown when an unuspported grant type
|
||||
* parameter is specified.
|
||||
*/
|
||||
class UnsupportedGrantTypeException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class UnsupportedGrantTypeException extends OAuthErrorException {}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception\OAuth;
|
||||
* UnsupportedResponseTypeException is thrown when an unsupported response type
|
||||
* parameter is specified.
|
||||
*/
|
||||
class UnsupportedResponseTypeException extends OAuthErrorException
|
||||
{
|
||||
}
|
||||
class UnsupportedResponseTypeException extends OAuthErrorException {}
|
||||
|
||||
@@ -6,6 +6,4 @@ namespace Stripe\Exception;
|
||||
* PermissionException is thrown in cases where access was attempted on a
|
||||
* resource that wasn't allowed.
|
||||
*/
|
||||
class PermissionException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class PermissionException extends ApiErrorException {}
|
||||
|
||||
@@ -7,6 +7,4 @@ namespace Stripe\Exception;
|
||||
* load on Stripe's API servers (usually by performing too many requests).
|
||||
* Please back off on request rate.
|
||||
*/
|
||||
class RateLimitException extends InvalidRequestException
|
||||
{
|
||||
}
|
||||
class RateLimitException extends InvalidRequestException {}
|
||||
|
||||
@@ -4,6 +4,4 @@
|
||||
|
||||
namespace Stripe\Exception;
|
||||
|
||||
class TemporarySessionExpiredException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class TemporarySessionExpiredException extends ApiErrorException {}
|
||||
|
||||
@@ -2,6 +2,4 @@
|
||||
|
||||
namespace Stripe\Exception;
|
||||
|
||||
class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface
|
||||
{
|
||||
}
|
||||
class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface {}
|
||||
|
||||
@@ -7,6 +7,4 @@ namespace Stripe\Exception;
|
||||
* error from the API it doesn't know about. Receiving this error usually
|
||||
* means that your client library is outdated and should be upgraded.
|
||||
*/
|
||||
class UnknownApiErrorException extends ApiErrorException
|
||||
{
|
||||
}
|
||||
class UnknownApiErrorException extends ApiErrorException {}
|
||||
|
||||
Reference in New Issue
Block a user