Showing 2,474 of 2,474 total issues
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$reason = sanitize_text_field($reason);
- Exclude checks
Closing brace indented incorrectly; expected 2 spaces, found 4 Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
function VindiRedirectToMyAccount() {
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
), array('a' => array('href' => true))));
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( ! defined( 'ABSPATH' ) ) {
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
exit;
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 6 Open
Open
$name,
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi criado na Vindi com sucesso!', VINDI ) ); ?></p>
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
<p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'Não foi possível criar/atualizar o produto na Vindi!', VINDI ) ); ?></p>
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
return $response;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
{
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_redirect(get_permalink( wc_get_page_id( 'myaccount' ) ));
- Exclude checks
Opening brace should be on a new line Open
Open
function VindiRedirectInfo() {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
wp_register_style('vindi_woocommerce_admin_style', plugins_url('/assets/css/admin.css', plugin_dir_path(__FILE__)), array(), VINDI_VERSION);
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(is_user_logged_in() || get_option('woocommerce_enable_guest_checkout') == "yes") return;
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
<?php _e('Clique aqui para acessar uma conta existente ou criá-la.', VINDI ); ?>
- Exclude checks
Expected 0 spaces before closing bracket; 1 found 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
Opening brace should be on a new line Open
Open
function __construct() {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found 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