vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

    $this->vindi_status_notifier = new VindiProductStatus($this->settings);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

    $notes = null;

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

    $metadata = null;

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

        $cpf_or_cnpj = $order->get_meta('_billing_cpf');

Line indented incorrectly; expected 16 spaces, found 8
Open

        }

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

      )

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

    $vindi_customer_id = get_user_meta($user_id, 'vindi_customer_id', true);

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

      $metadata = array();

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

      )

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $routes;

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

        );

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

    $this->controllers = new VindiControllers($this->settings);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

    $this->webhooks = new VindiWebhooks($this->settings);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  }
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

    add_action('user_register', array($this, 'create'), 10, 1);

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

    $name = (!$user['first_name']) ? $user['display_name'] : $user['first_name'] . ' ' . $user['last_name'];

Line indented incorrectly; expected at least 20 spaces, found 10
Open

          $metadata['carteira_de_identidade'] = $order->get_meta('_billing_rg');

Line indented incorrectly; expected 12 spaces, found 10
Open

          }

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

    $customer = new WC_Customer($user_id);
Severity
Category
Status
Source
Language