Showing 2,474 of 2,474 total issues
Line exceeds 120 characters; contains 149 characters Open
Open
'discount_amount' => $discount_amount, // The amount an item was discounted—if there was a sale,for example, as a non-negative integer.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$request['amount'] = substr($amount, 0, strlen($amount)-2) . "." . substr($amount, -2);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
$this->abort(__('Falha ao registrar o método de pagamento. Verifique os dados e tente novamente.', VINDI), true);
- Exclude checks
Inline control structures are not allowed Open
Open
if (empty($subscription_order_item))
- Exclude checks
Line exceeds 120 characters; contains 167 characters Open
Open
return $this->is_subscription_type($product) && class_exists('WC_Subscriptions_Product') && WC_Subscriptions_Product::get_trial_length($product->get_id()) > 0;
- Exclude checks
Inline control structures are not allowed Open
Open
if (false === $query->have_posts())
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div class="test-return-infos">
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
<p><?php echo sprintf(__('Falha na conexão! <br><strong>%s</strong>', VINDI), $settings->api->last_error); ?></p>
- Exclude checks
Inline control structures are not allowed Open
Open
<?php if (!defined('ABSPATH')) exit; ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php echo $subscription['product']; ?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php if (is_array($item) && array_key_exists('product', $item) && !in_array($item['bill']['status'], array('paid', 'canceled'))): ?>
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
Open
wp_register_script('jquery-mask', plugins_url('/assets/js/jquery.mask.min.js', plugin_dir_path(__FILE__)), array('jquery'), VINDI_VERSION, true);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Get refund request args.
- Exclude checks
Line exceeds 120 characters; contains 140 characters Open
Open
public function __construct(WC_Order $order, VindiPaymentGateway $gateway, VindiSettings $vindi_settings, VindiControllers $controllers)
- Exclude checks
Line exceeds 120 characters; contains 145 characters Open
Open
return $this->abort(__('Falha ao processar carrinho de compras. Verifique os itens escolhidos e tente novamente.', VINDI), true);
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
* @param WC_Order_Item_Product|WC_Order_Item_Product[] $order_items. Subscriptions will pass only one order_item and
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi criado na Vindi com sucesso!', VINDI ) ); ?></p>
- Exclude checks