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

    return true;
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

    $response_body = wp_remote_retrieve_body($response);
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

      return false;
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

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

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

  {

Line indented incorrectly; expected 4 spaces, found 2
Open

  public static function wc_post_meta($post_id, $custom_attributes)

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Closing brace indented incorrectly; expected 2 spaces, found 4
Open

    }

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

    return htmlspecialchars(strip_tags($value));

Line indented incorrectly; expected 12 spaces, found 10
Open

          }

Line indented incorrectly; expected 12 spaces, found 10
Open

          switch ($order) {

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

                  arsort($sortable_array);

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (method_exists($this, $type)) {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

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

  {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

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

No space found after comma in function call
Open

        if ($response = $this->api->request("subscriptions/". filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT),'GET')['subscription'])
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      if ($this->recentRequest['status'] != 'canceled')
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

        'code'           => $code,
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

          'price' => 0,
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      return $response;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer
Severity
Category
Status
Source
Language