vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Spaces must be used to indent lines; tabs are not allowed
Open

    endif;
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function refund_transaction($bill_id, $amount = null, $reason = '') {
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        );
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        return apply_filters('vindi_refund_request', $request, $bill_id, $request['amount'], $reason);
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param  float    $amount Refund amount.
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param  string   $reason Refund reason.
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    exit;
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    exit; // Exit if accessed directly

Line exceeds 120 characters; contains 138 characters
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi criado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi atualizado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

            'tax' == $order_item['type'] || 'interest_rate' == $order_item['type'] || 'sign_up_fee' == $order_item['type']

Spaces must be used to indent lines; tabs are not allowed
Open

    </div>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    public function get_refund_request($bill_id, $amount = null, $reason = '') {
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line exceeds 120 characters; contains 169 characters
Open

     * @param WC_Order_Item_Product|WC_Order_Item_Product[] $product The product to be built. If the order type is 'bill' this will be an array of WC_Order_Item_Product,

Line exceeds 120 characters; contains 150 characters
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'Não foi possível criar/atualizar o produto na Vindi!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line exceeds 120 characters; contains 209 characters
Open

      'merchant_reference'   => $order->get_id(), // An alphanumeric string of up to  characters in length. This unique value is assigned by the merchant to identify the order. Also known as an “Order ID”.
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

      return $payment->abort(__('O Pagamento foi cancelado devido a erro de configuração do meio de pagamento.', VINDI));
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line exceeds 120 characters; contains 157 characters
Open

      return new WP_Error('error', __('Não é possível realizar reembolsos parciais, faça um reembolso manual caso você opte por esta opção.', VINDI));
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

     */
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer
Severity
Category
Status
Source
Language