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

    $plan_interval = VindiConversions::convert_interval($interval_count, $interval_type);

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

        'billing_trigger_day' => $trigger_day,

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

        'status' => ($data['status'] == 'publish') ? 'active' : 'inactive',

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

  {

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

    $inactivatedPlan = $this->routes->updatePlan($vindi_plan_id, array(

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

  {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

    return array(

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

  {

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

          array(

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

          return;

Line indented incorrectly; expected 4 spaces, found 2
Open

  function untrash($post_id)

Line indented incorrectly; expected 4 spaces, found 2
Open

  public $customers;
Severity: Minor
Found in src/controllers/index.php by phpcodesniffer

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

    add_action('admin_notices', array(&$this, 'product_status_notifier'));

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

      return;

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

      $args,

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

      ),

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

      $vindi_product_id,

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (get_post_type($post_id) != 'product') {

Line indented incorrectly; expected 4 spaces, found 2
Open

  function untrash($post_id)
Severity
Category
Status
Source
Language