src/contracts/PayService.php
Method getPaymentLink
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function getPaymentLink($orderId,
$paymentId,
float $amount,
string $currency = self::CURRENCY_RUR,
string $paymentType = self::PAYMENT_TYPE_CARD,
Method getPaymentForm
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function getPaymentForm($orderId,
$paymentId,
float $amount,
string $currency = self::CURRENCY_RUR,
string $paymentType = self::PAYMENT_TYPE_CARD,
The method getPaymentForm has 10 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function getPaymentForm($orderId,
$paymentId,
float $amount,
string $currency = self::CURRENCY_RUR,
string $paymentType = self::PAYMENT_TYPE_CARD,
- Exclude checks
The method getPaymentLink has 10 parameters. Consider reducing the number of parameters to less than 10. Open
Open
public function getPaymentLink($orderId,
$paymentId,
float $amount,
string $currency = self::CURRENCY_RUR,
string $paymentType = self::PAYMENT_TYPE_CARD,
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
Receipt $receipt = null): Form;
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
$paymentId,
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public function getPaymentForm($orderId,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
$paymentId,
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
public function getPaymentLink($orderId,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $description = '',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
Receipt $receipt = null): Form;
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
array $extraParams = [],
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $successReturnUrl = '',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $currency = self::CURRENCY_RUR,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $paymentType = self::PAYMENT_TYPE_CARD,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $failReturnUrl = '',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $paymentType = self::PAYMENT_TYPE_CARD,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $description = '',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $currency = self::CURRENCY_RUR,
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
Receipt $receipt = null): string;
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
Receipt $receipt = null): string;
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
float $amount,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
array $extraParams = [],
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
float $amount,
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $failReturnUrl = '',
- Exclude checks
Multi-line function declaration not indented correctly; expected 8 spaces but found 35 Open
Open
string $successReturnUrl = '',
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks