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_settings = $vindi_settings;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

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

Line indented incorrectly; expected 4 spaces, found 2
Open

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

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

    $response = $this->api->request(sprintf(
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 8 spaces, found 6
Open

      if ($this->is_single_order()) {

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

        $order_max_times = floor($order_total / $this->smallest_installment);

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

          $user_payment_profile['holder_name']     = $payment_profile['holder_name'];

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

      $installments = 0;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

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

      if ($installments != 0)

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 4 spaces, found 2
Open

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

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

    return $response['product'];
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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 at least 12 spaces, found 10
Open

          return $response['customer'];
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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 4
Open

    $response = $this->api->request(sprintf(
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    return $this->token;

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function check_ssl()
Severity
Category
Status
Source
Language