vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

        return min($this->max_installments, $max_times, $this->get_installments());

Line indented incorrectly; expected 8 spaces, found 6
Open

      }

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

  public function createPlan($data)
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

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function updateCustomer($user_id, $data)
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 4 spaces, found 2
Open

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

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

      $this->supports             = array(

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

            $installments = $plan['installments'];

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

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

      $this->id                   = 'vindi-credit-card';

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

          return;

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

      );

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

    ), 'GET');
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

    $response = $this->api->request('products', 'POST', $data);
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

      $this->method_description   = __('Aceitar pagamentos via cartão de crédito utilizando a Vindi.', VINDI);

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

      $this->verify_method = $this->get_option('verify_method');
Severity
Category
Status
Source
Language