Showing 2,474 of 2,474 total issues
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function add_installment_change_script() {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
'shipping_amount' => VindiHelpers::get_vindi_amount($order->get_shipping_total() + $order->get_shipping_tax(), $currency), // The shipping cost, in cents, as a non-negative integer.
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$level3_data['shipping_address_zip'] = $shipping_address_zip;
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(file_exists(plugin_dir_path(__FILE__) . '.env.php')) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
} elseif ($this->vindi_settings->woocommerce->customer->get_billing_country()) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
return false;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$response = array(
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$types = [];
- Exclude checks
Opening brace should be on a new line Open
Open
public function process_refund($order_id, $amount = null, $reason = '') {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$this->logger->log('Resultado do reembolso: ' . wc_print_r($result, true));
- Exclude checks
Closing brace indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$data = $this->get_refund_request($bill_id, $amount, $reason);
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(!$bill) {
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
) {
- 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
Multi-line function call not indented correctly; expected 8 spaces but found 6 Open
Open
$name
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
wp_register_script('vindi_woocommerce_admin_js', plugins_url('/assets/js/admin.js', plugin_dir_path(__FILE__)), array('jquery', 'jquery-mask'), VINDI_VERSION, true);
- Exclude checks