vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

        $vindi_plan_id = get_post_meta($variation['variation_id'], 'vindi_plan_id', true);

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

          $product->get_meta('_subscription_trial_length'),

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

          $vindi_product_id,

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

            )

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

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

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

            'billing_trigger_type' => 'beginning_of_period',

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

        'plan' => $variations_plans,

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

    $data = $product->get_data();

Line indented incorrectly; expected 12 spaces, found 6
Open

      }

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

    $interval_type = $product->get_meta('_subscription_period');

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

      'name' => VINDI_PREFIX_PLAN . $data['name'],

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

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

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

      'plan_items' => array(

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

      'product' => $createdProduct,

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

        $trigger_day = VindiConversions::convertTriggerToDay(

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

          array(

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

            'invoice' => 'always',

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

          )

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

        );

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

        $updatedPlan = $this->routes->updatePlan(
Severity
Category
Status
Source
Language