vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Expected 0 spaces after opening bracket; newline found
Open

  if (

Line indented incorrectly; expected 4 spaces, found 2
Open

  ?>

Expected 0 spaces before closing bracket; 1 found
Open

      wp_redirect(get_permalink( wc_get_page_id( 'myaccount' ) ));

Space after opening parenthesis of function call prohibited
Open

      <a href="<?php echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?>">

Expected 0 spaces before closing bracket; 1 found
Open

      wp_redirect(get_permalink( wc_get_page_id( 'myaccount' ) ));

Expected 0 spaces before closing bracket; 1 found
Open

      <a href="<?php echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?>">

Expected 0 spaces after opening bracket; 1 found
Open

if ( ! defined( 'ABSPATH' ) ) {
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

      <a href="<?php echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?>">

Expected 1 space after closing parenthesis; found 0
Open

<?php if ($type == 'created'): ?>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi atualizado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi atualizado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'O produto foi atualizado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

        <p><strong><?php _e('Vindi', VINDI);?></strong>: <?php printf( __( 'Não foi possível criar/atualizar o produto na Vindi!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  include plugin_dir_path(__FILE__) . '.env.php';
Severity: Minor
Found in vindi.php by phpcodesniffer
Severity
Category
Status
Source
Language