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

          $product->get_meta('_subscription_trial_length'),

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

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

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

          array(

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

          'billing_trigger_day' => $trigger_day,

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

          ),

Line indented incorrectly; expected 24 spaces, found 22
Open

                      }

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

    $createdPlan = $this->routes->createPlan(array(

Line indented incorrectly; expected 12 spaces, found 4
Open

    if ($createdPlan && $createdProduct) {

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

    $response = array(

Line indented incorrectly; expected 12 spaces, found 6
Open

      foreach ($variations as $variation) {

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

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

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

              'schema_type' => 'flat',

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

      $product->get_meta('_subscription_trial_length'),

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

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

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

    ));

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

      'plan' => $createdPlan,

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

        ));

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

        $interval_count    = $variation_product->get_meta('_subscription_period_interval');

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

      return array(
Severity
Category
Status
Source
Language