vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line exceeds 120 characters; contains 159 characters
Open

    $nfe_know_more = '<a href="http://atendimento.vindi.com.br/hc/pt-br/articles/204450944-Notas-fiscais" target="_blank">' . __('Saiba mais', VINDI) . '</a>';

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

    public function get_webhooks_url() {

Inline control structures are not allowed
Open

    if ($is_trial = $this->vindi_settings->get_is_active_sandbox())

Inline control structures are not allowed
Open

      if ($this->is_single_order())

Inline control structures are not allowed
Open

      if ($installments != 0)

Line exceeds 120 characters; contains 132 characters
Open

          'description' => __('Número máximo de parcelas para vendas avulsas. Deixe em 1x para desativar o parcelamento.', VINDI),

Line exceeds 120 characters; contains 167 characters
Open

          'description' => __(' Realiza a transação de verificação em todos os novos pedidos. (Taxas adicionais por verificação poderão ser cobradas).', VINDI),

Line exceeds 120 characters; contains 125 characters
Open

          $user_payment_profile['card_number']     = sprintf('**** **** **** %s', $payment_profile['card_number_last_four']);

Inline control structures are not allowed
Open

      else

Inline control structures are not allowed
Open

    if($comments)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

     * @param int   $subscription_id
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Inline control structures are not allowed
Open

      if ($this->recentRequest['status'] != 'canceled')
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

     *
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    public function getSubscription($subscription_id)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($response = $this->api->request("subscriptions/". filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT),'GET')['subscription'])
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    {
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Inline control structures are not allowed
Open

    if (false === array_key_exists($error_identifier, $this->errors_list))
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

        if ($response = $this->api->request("subscriptions/". filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT),'GET')['subscription'])
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

        return false;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line exceeds 120 characters; contains 133 characters
Open

    $response = $this->api->request(sprintf('charges/%s/refund', filter_var($charge_id, FILTER_SANITIZE_NUMBER_INT)), 'POST', $data);
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer
Severity
Category
Status
Source
Language