vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

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

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

        $this->vindi_settings->logger->log(sprintf('Order rg -> %s', $order->get_meta('_billing_rg')));

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

  {

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

    $this->routes = $vindi_settings->routes;

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

        $data = $variation_product->get_data();

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

          $product->get_meta('_subscription_trial_length'),

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

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

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

    new FrontendFilesLoader();
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 6
Open

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

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

    add_action('delete_user', array($this, 'delete'), 10, 1);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($order && method_exists($order, 'needs_payment')) {

Line indented incorrectly; expected 16 spaces, found 8
Open

        if ($this->vindi_settings->send_nfe_information()) {

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

      )

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

    );

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

      return $this->create($user_id);

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

    $cpf_or_cnpj = null;

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

    $vindiUser = $this->routes->findCustomerById($vindi_customer_id);

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

      $vindi_customer_id
Severity
Category
Status
Source
Language