vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 8 spaces, found 4
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

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

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

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

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

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

    $query = '';
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Expected 1 space after IF keyword; 0 found
Open

    if($comments)
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (false === ($payment_methods = get_transient('vindi_payment_methods'))) {
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      $payment_methods = array(
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line indented incorrectly; expected 20 spaces, found 8
Open

        }
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("plans/" . filter_var($plan_id, FILTER_SANITIZE_NUMBER_INT), 'GET');
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      return false;
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
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 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

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

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

      return 'https://sandbox-app.vindi.com.br/api/v1/';
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

    $body = null;
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (!empty($data)) {
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

    $error_identifier = sprintf('%s|%s', $error_id, $error_parameter);
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

    $response = wp_remote_post($url, [
Severity: Minor
Found in src/services/Api.php by phpcodesniffer
Severity
Category
Status
Source
Language