Showing 2,474 of 2,474 total issues
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$result = $this->refund_transaction($bill_id, $amount, $reason);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 6 Open
Open
if(isset($result->errors)) {
- Exclude checks
Opening brace should be on a new line Open
Open
public function get_refund_request($bill_id, $amount = null, $reason = '') {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$bill_id = filter_var($bill_id, FILTER_SANITIZE_NUMBER_INT);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$bill_id = filter_var($bill_id, FILTER_SANITIZE_NUMBER_INT);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$last_charge = $this->find_bill_last_charge($bill_id);
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
if(is_user_logged_in() || get_option('woocommerce_enable_guest_checkout') == "yes") return;
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if ( ! defined( 'ABSPATH' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<p><strong><?php _e( 'Chave API Inválida', VINDI ); ?></strong>: <?php printf( __( 'A chave API utilizada não é uma chave válida! Por favor verifique as informações e tente novamente!', VINDI ) ); ?></p>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi criado na Vindi com sucesso!', VINDI ) ); ?></p>
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php elseif ($type == 'updated'): ?>
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
exit; // Exit if accessed directly.
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
return $this->vindi_settings->woocommerce->customer->get_billing_country();
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
protected function is_single_order()
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$amount = filter_var($amount, FILTER_SANITIZE_NUMBER_FLOAT);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$bill_id = $order_item['bill']['id'];
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(isset($result->errors)) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
return false;
- Exclude checks