Showing 2,474 of 2,474 total issues
Space after opening parenthesis of function call prohibited Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi atualizado na Vindi com sucesso!', VINDI ) ); ?></p>
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function calculate_cost($cart) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
parse_str(sanitize_text_field($_POST['post_data']), $post_data);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
$installments = intval(filter_var($post_data['vindi_cc_installments'], FILTER_SANITIZE_NUMBER_INT));
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
protected $routes;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
if (is_admin()) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
add_action('woocommerce_update_options_payment_gateways_' . $this->id, array(&$this, 'process_admin_options'));
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$product_id = $item->get_variation_id()
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
die();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$tax_amount = VindiHelpers::get_vindi_amount($item->get_total_tax(), $currency);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
global $woocommerce;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function admin_options()
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
$interest_price = (float) $total_price - $cart_total;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function validate_settings()
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
? $item->get_variation_id()
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$reason = sanitize_text_field($reason);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
throw new Exception($result->errors[0]->message);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
return $level3_data;
- Exclude checks
Opening brace should be on a new line Open
Open
public function refund_transaction($bill_id, $amount = null, $reason = '') {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
return end($charges);
- Exclude checks