vindi/vindi-woocommerce

View on GitHub
src/views/product-status.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 0 spaces before closing bracket; 1 found
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

    endif;
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    exit;
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

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

Line exceeds 120 characters; contains 142 characters
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

Spaces must be used to indent lines; tabs are not allowed
Open

    </div>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Line exceeds 120 characters; contains 150 characters
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

Spaces must be used to indent lines; tabs are not allowed
Open

    </div>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
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

Spaces must be used to indent lines; tabs are not allowed
Open

    </div>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
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

Spaces must be used to indent lines; tabs are not allowed
Open

    delete_transient('vindi_product_message');
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 criado 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( __( '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( __( 'Não foi possível criar/atualizar o produto na Vindi!', 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 criado na Vindi com sucesso!', VINDI ) ); ?></p>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

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

Expected 1 space after ELSE keyword; 0 found
Open

<?php else: ?>
Severity: Minor
Found in src/views/product-status.php by phpcodesniffer

Closing brace indented incorrectly; expected 0 spaces, found 4
Open

    endif;
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 criado 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

Expected 0 spaces before closing bracket; 1 found
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

Space after opening parenthesis of function call prohibited
Open

if ( ! defined( 'ABSPATH' ) ) {
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 criado 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

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

Expected 0 spaces after opening bracket; 1 found
Open

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

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

There are no issues that match your filters.

Category
Status