vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Inline control structures are not allowed
Open

    if ('charge' !== $item_type)
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Inline control structures are not allowed
Open

    if (empty($order))
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

                <?php if (is_array($subscription) && array_key_exists('product', $subscription) && !in_array($subscription['bill']['status'], array('paid', 'canceled'))): ?>

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

                            <span class="product_title">

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

                        </div>

Line exceeds 120 characters; contains 157 characters
Open

                        <?php if (is_array($item) && array_key_exists('product', $item) && !in_array($item['bill']['status'], array('paid', 'canceled'))): ?>

Line exceeds 120 characters; contains 192 characters
Open

                    <path id="Rectangle-1_1_" class="vindi_cc_cardcolor greydark" d="M40,0h670c22.1,0,40,17.9,40,40v391c0,22.1-17.9,40-40,40H40c-22.1,0-40-17.9-40-40V40C0,17.9,17.9,0,40,0z" />

Line exceeds 120 characters; contains 191 characters
Open

                  <path class="st2" d="M168.1,143.6H82.9c-10.2,0-18.5-8.3-18.5-18.5V74.9c0-10.2,8.3-18.5,18.5-18.5h85.3 c10.2,0,18.5,8.3,18.5,18.5v50.2C186.6,135.3,178.3,143.6,168.1,143.6z"/>

Line exceeds 120 characters; contains 129 characters
Open

          <svg version="1.1" id="vindi_cc_cardback" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"

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

    </h3>

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

    <p><?php _e('Copie esse link e utilize-o para configurar os eventos nos Webhooks da Vindi.', VINDI);?></p>

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

                </p>

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

                    <?php _e('Você pode imprimi-los e pagá-los via internet banking ou em agências bancárias e lotéricas. Após recebermos a confirmação do pagamento, seu pedido será processado.', VINDI); ?>

Inline control structures are not allowed
Open

  <div class='vindi-new-cc-data' style="<?php if(!empty($user_payment_profile)) echo 'display: none'; ?>">

Line exceeds 120 characters; contains 138 characters
Open

                <path class="st5" d="M701.1,184.6H618h-8h-10v64.5h10h8h83.1c3.3,0,6-2.7,6-6v-52.5C707.1,187.3,704.4,184.6,701.1,184.6z" />

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

    protected function __clone(){}

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

     *
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

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

            _e('Um Boleto Bancário será enviado para o seu endereço de e-mail.', VINDI);

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

                            <a class="download_button" href="<?php echo esc_url($subscription['bill']['bank_slip_url']); ?>" target="_blank">

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

                                </a>
Severity
Category
Status
Source
Language