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

      if ($this->is_single_order())

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $vindi_settings;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      return floatval($this->interest_rate);

Line indented incorrectly; expected 4 spaces, found 2
Open

  public $api;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

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

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

    $this->api = $this->vindi_settings->api;
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

      'products/%s',
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('customers', 'POST', $data);
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

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

Line indented incorrectly; expected 4 spaces, found 2
Open

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

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

      'customers/%s',
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

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

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

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

      'products/%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($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

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

    return $response['plan'];
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 8 spaces, found 6
Open

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