SergioMadness/payment-laravel

View on GitHub

Showing 94 of 94 total issues

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $description = '',
Severity: Minor
Found in src/Payment.php by phpcodesniffer

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public function getPaymentLink($orderId,
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $paymentType = self::PAYMENT_TYPE_CARD,
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $successReturnUrl = '',
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $description = '',
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   Receipt $receipt = null): Form;
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $description = '',
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   array $extraParams = [],
Severity: Minor
Found in src/Payment.php by phpcodesniffer

The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Open

    {
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   array $extraParams = [],
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   float $amount,
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $failReturnUrl = '',
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $successReturnUrl = '',
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $currency = self::CURRENCY_RUR,
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

    public function getPaymentForm($orderId,
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $paymentType = self::PAYMENT_TYPE_CARD,
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $failReturnUrl = '',
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $currency = self::CURRENCY_RUR,
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   float $amount,
Severity: Minor
Found in src/Payment.php by phpcodesniffer

Multi-line function declaration not indented correctly; expected 8 spaces but found 35
Open

                                   string $paymentType = self::PAYMENT_TYPE_CARD,
Severity: Minor
Found in src/contracts/PayService.php by phpcodesniffer
Severity
Category
Status
Source
Language