vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Multi-line function call not indented correctly; expected 12 spaces but found 10
Open

          $vindi_plan_id,

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

            'billing_trigger_day' => $trigger_day,

Line indented incorrectly; expected at least 16 spaces, found 14
Open

              update_post_meta($post_id, 'vindi_plan_id', $createdPlan['id']);

Multi-line function call not indented correctly; expected 12 spaces but found 10
Open

          )

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

    return $response;

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

          )

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

      $vindi_plan_id = get_post_meta($post_id, 'vindi_plan_id', true);

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

      return array(

Line indented incorrectly; expected 12 spaces, found 6
Open

      }

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

          return $this->create($post_id, '', '', true);

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

      );

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

          break;

Multi-line function call not indented correctly; expected 12 spaces but found 10
Open

          $vindi_product_id,

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

          $vindi_plan_id,

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

          'interval' => $plan_interval['interval'],

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

          'billing_trigger_type' => 'beginning_of_period',

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

          'code' => 'WC-' . $data['id'],

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

      set_transient('vindi_product_message', 'error', 60);

Line indented incorrectly; expected 12 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 2
Open

  }
Severity
Category
Status
Source
Language