All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
23 lines
490 B
PHP
23 lines
490 B
PHP
<?php
|
|
|
|
namespace Stripe\Exception;
|
|
|
|
// TODO: remove this check once we drop support for PHP 5
|
|
if (\interface_exists(\Throwable::class, false)) {
|
|
/**
|
|
* The base interface for all Stripe exceptions.
|
|
*/
|
|
interface ExceptionInterface extends \Throwable
|
|
{
|
|
}
|
|
} else {
|
|
/**
|
|
* The base interface for all Stripe exceptions.
|
|
*/
|
|
// phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses
|
|
interface ExceptionInterface
|
|
{
|
|
}
|
|
// phpcs:enable
|
|
}
|