vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

      $this->smallest_installment = $this->get_option('smallest_installment');

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

      );

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

      return 1 === $old_payment_profile;

Line indented incorrectly; expected 8 spaces, found 6
Open

      }

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

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

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function updateProduct($product_id, $data)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      $this->init_settings();

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

      $this->vindi_settings->get_template('creditcard-checkout.html.php', compact(

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

      return $this->get_installments();

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

      'plans/%s',
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      'plans/%s',
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      filter_var($product_id, FILTER_SANITIZE_NUMBER_INT)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      );

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

      $this->init_form_fields();

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

      $this->installments = $this->get_option('installments');

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

    ), 'PUT', $data);
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      parent::__construct($vindi_settings, $controllers);

Line indented incorrectly; expected 16 spaces, found 10
Open

          if ($installments == 0) {

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

      return 'yes' === $this->verify_method;

Line indented incorrectly; expected 8 spaces, found 6
Open

      else
Severity
Category
Status
Source
Language