Fix #12: Add gateway contract test suite across providers #17
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run roave infection.:
src/Exceptions/PaymentException.php#L19
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
/**
* @param array<string,mixed>|null $details
*/
- public function __construct(string $message = '', public readonly ?string $errorCode = null, public readonly ?string $errorType = null, public readonly ?string $declineCode = null, public readonly ?string $param = null, public readonly ?array $details = null, int $code = 0, ?\Throwable $previous = null)
+ public function __construct(string $message = '', public readonly ?string $errorCode = null, public readonly ?string $errorType = null, public readonly ?string $declineCode = null, public readonly ?string $param = null, public readonly ?array $details = null, int $code = -1, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}
|
|
Run roave infection.:
src/Exceptions/InvalidRequestException.php#L19
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
/**
* @param array<string,mixed>|null $details
*/
- public function __construct(string $message = 'Invalid request', ?string $errorCode = null, ?string $errorType = null, ?string $declineCode = null, ?string $param = null, ?array $details = null, int $code = 400, ?\Throwable $previous = null)
+ public function __construct(string $message = 'Invalid request', ?string $errorCode = null, ?string $errorType = null, ?string $declineCode = null, ?string $param = null, ?array $details = null, int $code = 401, ?\Throwable $previous = null)
{
parent::__construct($message, $errorCode, $errorType, $declineCode, $param, $details, $code, $previous);
}
}
|
|
Run roave infection.:
src/Exceptions/InvalidRequestException.php#L19
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
/**
* @param array<string,mixed>|null $details
*/
- public function __construct(string $message = 'Invalid request', ?string $errorCode = null, ?string $errorType = null, ?string $declineCode = null, ?string $param = null, ?array $details = null, int $code = 400, ?\Throwable $previous = null)
+ public function __construct(string $message = 'Invalid request', ?string $errorCode = null, ?string $errorType = null, ?string $declineCode = null, ?string $param = null, ?array $details = null, int $code = 399, ?\Throwable $previous = null)
{
parent::__construct($message, $errorCode, $errorType, $declineCode, $param, $details, $code, $previous);
}
}
|
|
Run roave infection.:
src/Endpoints/YooKassaEndpoints.php#L15
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
public function __construct(public readonly string $baseUri = 'https://api.yookassa.ru/v3')
{
- self::assertHttpsUri($this->baseUri);
+
}
private static function assertHttpsUri(string $uri): void
{
|
|
Run roave infection.:
src/Endpoints/StripeEndpoints.php#L15
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
public function __construct(public readonly string $baseUri = 'https://api.stripe.com/v1')
{
- self::assertHttpsUri($this->baseUri);
+
}
private static function assertHttpsUri(string $uri): void
{
|
|
Run roave infection.:
src/Endpoints/RobokassaEndpoints.php#L19
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
self::assertHttpsUri($this->invoiceApiBaseUri);
self::assertHttpsUri($this->refundApiBaseUri);
- self::assertHttpsUri($this->xmlApiBaseUri);
+
}
private static function assertHttpsUri(string $uri): void
{
|
|
Run roave infection.:
src/Endpoints/RobokassaEndpoints.php#L18
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct(public readonly string $invoiceApiBaseUri = 'https://services.robokassa.ru/InvoiceServiceWebApi/api', public readonly string $refundApiBaseUri = 'https://services.robokassa.ru/RefundService/Refund', public readonly string $xmlApiBaseUri = 'https://auth.robokassa.ru/Merchant/WebService/Service.asmx')
{
self::assertHttpsUri($this->invoiceApiBaseUri);
- self::assertHttpsUri($this->refundApiBaseUri);
+
self::assertHttpsUri($this->xmlApiBaseUri);
}
private static function assertHttpsUri(string $uri): void
|
|
Run roave infection.:
src/Endpoints/RobokassaEndpoints.php#L17
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
public function __construct(public readonly string $invoiceApiBaseUri = 'https://services.robokassa.ru/InvoiceServiceWebApi/api', public readonly string $refundApiBaseUri = 'https://services.robokassa.ru/RefundService/Refund', public readonly string $xmlApiBaseUri = 'https://auth.robokassa.ru/Merchant/WebService/Service.asmx')
{
- self::assertHttpsUri($this->invoiceApiBaseUri);
+
self::assertHttpsUri($this->refundApiBaseUri);
self::assertHttpsUri($this->xmlApiBaseUri);
}
|
|
Run roave infection.:
src/Endpoints/PayPalEndpoints.php#L17
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct(public readonly string $sandboxBaseUri = 'https://api-m.sandbox.paypal.com', public readonly string $liveBaseUri = 'https://api-m.paypal.com')
{
self::assertHttpsUri($this->sandboxBaseUri);
- self::assertHttpsUri($this->liveBaseUri);
+
}
public function getBaseUri(bool $sandbox): string
{
|
|
Run roave infection.:
src/Endpoints/PayPalEndpoints.php#L16
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
public function __construct(public readonly string $sandboxBaseUri = 'https://api-m.sandbox.paypal.com', public readonly string $liveBaseUri = 'https://api-m.paypal.com')
{
- self::assertHttpsUri($this->sandboxBaseUri);
+
self::assertHttpsUri($this->liveBaseUri);
}
public function getBaseUri(bool $sandbox): string
|
background
wait
wait-all
cancel
Loading