vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

        if (null === $matching_subscription && !empty($subscriptions)) {

Inline control structures are not allowed
Open

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

Inline control structures are not allowed
Open

<?php if (!defined( 'ABSPATH')) exit; ?>

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('Aqui estão os boletos de suas compras.', VINDI); ?>

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

                                <?php _e('Baixar boleto', VINDI ); ?>

Line exceeds 120 characters; contains 192 characters
Open

      <?php _e('Sua conta na Vindi está em <strong>Modo Trial</strong>. Este modo é proposto para a realização de testes e, portanto, nenhum pedido será efetivamente cobrado.', VINDI); ?>

Line exceeds 120 characters; contains 124 characters
Open

              <text transform="matrix(1 0 0 1 479.7754 388.8793)" class="st7 st5 st8"><?php _e("Validade", VINDI); ?></text>

Line exceeds 120 characters; contains 161 characters
Open

                <path class="st3" d="M701.1,249.1H48.9c-3.3,0-6-2.7-6-6v-52.5c0-3.3,2.7-6,6-6h652.1c3.3,0,6,2.7,6,6v52.5C707.1,246.4,704.4,249.1,701.1,249.1z" />

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

    exit; // Exit if accessed directly

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

        <h3 style="color: #f00"><?php _e('MODO DE TESTES', VINDI); ?></h3>

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

        if ($is_single_order) {

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

                <p class="message_title">

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

                                    <?php echo $item['product']; ?>

Line exceeds 120 characters; contains 141 characters
Open

          <option value="<?php echo $installment; ?>"><?php echo sprintf(__('%dx de %s', VINDI), $installment, wc_price($price)); ?></option>

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

    public static function instance()

Inline control structures are not allowed
Open

    if (end($response['payment_profiles']) !== null)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

    $this->logger->log(sprintf("[Request #%s]: Novo Request para a API.\n%s %s\n%s", $request_id, $method, $url, $data_to_log));
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

Line exceeds 120 characters; contains 130 characters
Open

      $this->logger->log(sprintf('[Request #%s]: Erro ao recuperar corpo do request! %s', $request_id, print_r($response, true)));
Severity: Minor
Found in src/services/Api.php by phpcodesniffer
Severity
Category
Status
Source
Language