vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 4 spaces, found 2
Open

  private function validate_access_token($token)
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      $this->vindi_settings->logger->log(sprintf(__('Novo Evento processado: %s', VINDI), $type));
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      return $this->{$type}($data);
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        __('Já existe o ciclo %s para a assinatura #%s pedido #%s!', VINDI),
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

    );
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 16 spaces, found 8
Open

        $order = $this->find_order_by_id($data->bill->code);
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      throw new Exception(sprintf(__('Pendência criada com o status "%s" não processada!', VINDI), $issue_status));
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

    $order = $this->find_order_by_bill_id($bill->id);
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Multi-line function call not indented correctly; expected 8 spaces but found 6
Open

      $issue_data->transaction_amount
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

    return wc_get_order($query->post->ID);
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      array(
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

  {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  <?php if(!empty($user_payment_profile)): ?>

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

    $verifyType = $types[$type];
Severity: Minor
Found in src/utils/Conversions.php by phpcodesniffer

Expected 1 space after IF keyword; 0 found
Open

    if(!$verifyType) {
Severity: Minor
Found in src/utils/Conversions.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  public static function convert_interval($interval_count, $interval_type = 'month') {
Severity: Minor
Found in src/utils/Conversions.php by phpcodesniffer

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

    add_action('admin_enqueue_scripts', array($this, 'adminFiles'));

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (is_checkout()): ?>

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      WC()->cart->add_fee(__('Juros', VINDI), $interest_price);

Line indented incorrectly; expected 4 spaces, found 2
Open

  public $controllers;
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer
Severity
Category
Status
Source
Language