vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function findBillById($bill_id)
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 4 spaces, found 2
Open

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

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function request($endpoint, $method = 'POST', $data = array(), $data_to_log = null)
Severity: Minor
Found in src/services/Api.php by phpcodesniffer

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

    $this->identifier  = $identifier;
Severity: Minor
Found in src/services/Logger.php by phpcodesniffer

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

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

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($this->is_active) {
Severity: Minor
Found in src/services/Logger.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    foreach ($custom_attributes as $name => $value) {

Expected 1 space after IF keyword; 0 found
Open

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

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

      sprintf('subscriptions/%s%s', filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT), $query), 'DELETE');
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

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

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

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

    if($comments)
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 36 spaces, found 10
Open

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

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

      if (!$response || !$response['merchant'])
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    if (empty($response['charge']))
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    $this->current_plan = $response['plan'];
Severity: Minor
Found in src/routes/RoutesApi.php by phpcodesniffer

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

    return 'https://app.vindi.com.br/api/v1/';
Severity: Minor
Found in src/services/Api.php by phpcodesniffer
Severity
Category
Status
Source
Language